pub struct ImageAlias {
pub description: Option<String>,
pub name: Option<String>,
}Expand description
ImageAlias : ImageAlias represents an alias from the alias list of an image
Fields§
§description: Option<String>Description of the alias
name: Option<String>Name of the alias
Implementations§
Source§impl ImageAlias
impl ImageAlias
Sourcepub fn new() -> ImageAlias
pub fn new() -> ImageAlias
ImageAlias represents an alias from the alias list of an image
Trait Implementations§
Source§impl Clone for ImageAlias
impl Clone for ImageAlias
Source§fn clone(&self) -> ImageAlias
fn clone(&self) -> ImageAlias
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 ImageAlias
impl Debug for ImageAlias
Source§impl Default for ImageAlias
impl Default for ImageAlias
Source§fn default() -> ImageAlias
fn default() -> ImageAlias
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageAlias
impl<'de> Deserialize<'de> for ImageAlias
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImageAlias
impl PartialEq for ImageAlias
Source§fn eq(&self, other: &ImageAlias) -> bool
fn eq(&self, other: &ImageAlias) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImageAlias
impl Serialize for ImageAlias
impl StructuralPartialEq for ImageAlias
Auto Trait Implementations§
impl Freeze for ImageAlias
impl RefUnwindSafe for ImageAlias
impl Send for ImageAlias
impl Sync for ImageAlias
impl Unpin for ImageAlias
impl UnsafeUnpin for ImageAlias
impl UnwindSafe for ImageAlias
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