pub struct RequestBodyWithImage {
pub size: usize,
pub image: String,
pub root_pass: String,
pub authorized_keys: Option<Vec<String>>,
pub _extra: Map<String, Value>,
}
Fields§
§size: usize
§image: String
§root_pass: String
§_extra: Map<String, Value>
Trait Implementations§
Source§impl Clone for RequestBodyWithImage
impl Clone for RequestBodyWithImage
Source§fn clone(&self) -> RequestBodyWithImage
fn clone(&self) -> RequestBodyWithImage
Returns a copy 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 Debug for RequestBodyWithImage
impl Debug for RequestBodyWithImage
Source§impl Default for RequestBodyWithImage
impl Default for RequestBodyWithImage
Source§fn default() -> RequestBodyWithImage
fn default() -> RequestBodyWithImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestBodyWithImage
impl<'de> Deserialize<'de> for RequestBodyWithImage
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
Auto Trait Implementations§
impl Freeze for RequestBodyWithImage
impl RefUnwindSafe for RequestBodyWithImage
impl Send for RequestBodyWithImage
impl Sync for RequestBodyWithImage
impl Unpin for RequestBodyWithImage
impl UnwindSafe for RequestBodyWithImage
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