pub struct TmpFsPatch {
pub target: Option<String>,
pub size: Option<Option<String>>,
}Fields§
§target: Option<String>§size: Option<Option<String>>Trait Implementations§
Source§impl Clone for TmpFsPatch
impl Clone for TmpFsPatch
Source§fn clone(&self) -> TmpFsPatch
fn clone(&self) -> TmpFsPatch
Returns a duplicate 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 TmpFsPatch
impl Debug for TmpFsPatch
Source§impl Default for TmpFsPatch
impl Default for TmpFsPatch
Source§fn default() -> TmpFsPatch
fn default() -> TmpFsPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TmpFsPatchwhere
TmpFsPatch: Default,
impl<'de> Deserialize<'de> for TmpFsPatchwhere
TmpFsPatch: Default,
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 From<TmpFsPatch> for TmpFs
impl From<TmpFsPatch> for TmpFs
Source§fn from(value: TmpFsPatch) -> Self
fn from(value: TmpFsPatch) -> Self
Converts to this type from the input type.
Source§impl FromStr for TmpFsPatch
impl FromStr for TmpFsPatch
Source§impl JsonSchema for TmpFsPatch
impl JsonSchema for TmpFsPatch
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TmpFsPatch
impl PartialEq for TmpFsPatch
Source§impl Patch<TmpFsPatch> for TmpFs
impl Patch<TmpFsPatch> for TmpFs
Source§fn apply(&mut self, patch: TmpFsPatch)
fn apply(&mut self, patch: TmpFsPatch)
Apply a patch
Source§fn into_patch(self) -> TmpFsPatch
fn into_patch(self) -> TmpFsPatch
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> TmpFsPatch
fn into_patch_by_diff(self, previous_struct: Self) -> TmpFsPatch
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> TmpFsPatch
fn new_empty_patch() -> TmpFsPatch
Get an empty patch instance
impl StructuralPartialEq for TmpFsPatch
Auto Trait Implementations§
impl Freeze for TmpFsPatch
impl RefUnwindSafe for TmpFsPatch
impl Send for TmpFsPatch
impl Sync for TmpFsPatch
impl Unpin for TmpFsPatch
impl UnwindSafe for TmpFsPatch
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