#[non_exhaustive]pub struct Frames {
pub frames_data: Vec<AssetFrame>,
/* private fields */
}Expand description
Collection of frame data.
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.frames_data: Vec<AssetFrame>A repeated field of asset data.
Implementations§
Source§impl Frames
impl Frames
pub fn new() -> Self
Sourcepub fn set_frames_data<T, V>(self, v: T) -> Self
pub fn set_frames_data<T, V>(self, v: T) -> Self
Sets the value of frames_data.
§Example
ⓘ
use google_cloud_migrationcenter_v1::model::AssetFrame;
let x = Frames::new()
.set_frames_data([
AssetFrame::default()/* use setters */,
AssetFrame::default()/* use (different) setters */,
]);Trait Implementations§
impl StructuralPartialEq for Frames
Auto Trait Implementations§
impl Freeze for Frames
impl RefUnwindSafe for Frames
impl Send for Frames
impl Sync for Frames
impl Unpin for Frames
impl UnsafeUnpin for Frames
impl UnwindSafe for Frames
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