#[non_exhaustive]pub struct VideoImageReference {
pub file_id: Option<String>,
pub image_url: Option<String>,
pub extra: Extra,
}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.file_id: Option<String>§image_url: Option<String>§extra: ExtraImplementations§
Trait Implementations§
Source§impl Clone for VideoImageReference
impl Clone for VideoImageReference
Source§fn clone(&self) -> VideoImageReference
fn clone(&self) -> VideoImageReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoImageReference
impl Debug for VideoImageReference
Source§impl<'de> Deserialize<'de> for VideoImageReference
impl<'de> Deserialize<'de> for VideoImageReference
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VideoImageReference
impl PartialEq for VideoImageReference
Source§impl Serialize for VideoImageReference
impl Serialize for VideoImageReference
impl StructuralPartialEq for VideoImageReference
Auto Trait Implementations§
impl Freeze for VideoImageReference
impl RefUnwindSafe for VideoImageReference
impl Send for VideoImageReference
impl Sync for VideoImageReference
impl Unpin for VideoImageReference
impl UnsafeUnpin for VideoImageReference
impl UnwindSafe for VideoImageReference
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