pub struct SshPatch {
pub id: Option<Option<String>>,
pub target: Option<Option<String>>,
pub required: Option<Option<bool>>,
pub mode: Option<Option<String>>,
pub uid: Option<Option<u16>>,
pub gid: Option<Option<u16>>,
}Fields§
§id: Option<Option<String>>§target: Option<Option<String>>§required: Option<Option<bool>>§mode: Option<Option<String>>§uid: Option<Option<u16>>§gid: Option<Option<u16>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SshPatch
impl<'de> Deserialize<'de> for SshPatch
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 JsonSchema for SshPatch
impl JsonSchema for SshPatch
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 Patch<SshPatch> for Ssh
impl Patch<SshPatch> for Ssh
Source§fn into_patch(self) -> SshPatch
fn into_patch(self) -> SshPatch
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> SshPatch
fn into_patch_by_diff(self, previous_struct: Self) -> SshPatch
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> SshPatch
fn new_empty_patch() -> SshPatch
Get an empty patch instance
impl StructuralPartialEq for SshPatch
Auto Trait Implementations§
impl Freeze for SshPatch
impl RefUnwindSafe for SshPatch
impl Send for SshPatch
impl Sync for SshPatch
impl Unpin for SshPatch
impl UnwindSafe for SshPatch
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