pub struct ImageUpdateApi {
pub name: Option<String>,
pub description: Option<String>,
}Fields§
§name: Option<String>Имя образа.
description: Option<String>Описание образа.
Implementations§
Source§impl ImageUpdateApi
impl ImageUpdateApi
pub fn new() -> ImageUpdateApi
Trait Implementations§
Source§impl Clone for ImageUpdateApi
impl Clone for ImageUpdateApi
Source§fn clone(&self) -> ImageUpdateApi
fn clone(&self) -> ImageUpdateApi
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 ImageUpdateApi
impl Debug for ImageUpdateApi
Source§impl Default for ImageUpdateApi
impl Default for ImageUpdateApi
Source§fn default() -> ImageUpdateApi
fn default() -> ImageUpdateApi
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageUpdateApi
impl<'de> Deserialize<'de> for ImageUpdateApi
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 ImageUpdateApi
impl PartialEq for ImageUpdateApi
Source§fn eq(&self, other: &ImageUpdateApi) -> bool
fn eq(&self, other: &ImageUpdateApi) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImageUpdateApi
impl Serialize for ImageUpdateApi
impl StructuralPartialEq for ImageUpdateApi
Auto Trait Implementations§
impl Freeze for ImageUpdateApi
impl RefUnwindSafe for ImageUpdateApi
impl Send for ImageUpdateApi
impl Sync for ImageUpdateApi
impl Unpin for ImageUpdateApi
impl UnsafeUnpin for ImageUpdateApi
impl UnwindSafe for ImageUpdateApi
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