#[non_exhaustive]pub struct BatchGetAssetsHistoryResponse {
pub assets: Vec<TemporalAsset>,
/* private fields */
}Expand description
Batch get assets history response.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.assets: Vec<TemporalAsset>A list of assets with valid time windows.
Implementations§
Source§impl BatchGetAssetsHistoryResponse
impl BatchGetAssetsHistoryResponse
pub fn new() -> Self
Sourcepub fn set_assets<T, V>(self, v: T) -> Self
pub fn set_assets<T, V>(self, v: T) -> Self
Sets the value of assets.
Trait Implementations§
Source§impl Clone for BatchGetAssetsHistoryResponse
impl Clone for BatchGetAssetsHistoryResponse
Source§fn clone(&self) -> BatchGetAssetsHistoryResponse
fn clone(&self) -> BatchGetAssetsHistoryResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BatchGetAssetsHistoryResponse
impl Default for BatchGetAssetsHistoryResponse
Source§fn default() -> BatchGetAssetsHistoryResponse
fn default() -> BatchGetAssetsHistoryResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchGetAssetsHistoryResponse
impl PartialEq for BatchGetAssetsHistoryResponse
Source§fn eq(&self, other: &BatchGetAssetsHistoryResponse) -> bool
fn eq(&self, other: &BatchGetAssetsHistoryResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchGetAssetsHistoryResponse
Auto Trait Implementations§
impl Freeze for BatchGetAssetsHistoryResponse
impl RefUnwindSafe for BatchGetAssetsHistoryResponse
impl Send for BatchGetAssetsHistoryResponse
impl Sync for BatchGetAssetsHistoryResponse
impl Unpin for BatchGetAssetsHistoryResponse
impl UnwindSafe for BatchGetAssetsHistoryResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more