pub struct SecretPatch {
pub id: Option<Option<String>>,
pub target: Option<Option<String>>,
pub env: 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>>§env: Option<Option<String>>§required: Option<Option<bool>>§mode: Option<Option<String>>§uid: Option<Option<u16>>§gid: Option<Option<u16>>Trait Implementations§
Source§impl Clone for SecretPatch
impl Clone for SecretPatch
Source§fn clone(&self) -> SecretPatch
fn clone(&self) -> SecretPatch
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 SecretPatch
impl Debug for SecretPatch
Source§impl Default for SecretPatch
impl Default for SecretPatch
Source§fn default() -> SecretPatch
fn default() -> SecretPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretPatchwhere
SecretPatch: Default,
impl<'de> Deserialize<'de> for SecretPatchwhere
SecretPatch: 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<SecretPatch> for Secret
impl From<SecretPatch> for Secret
Source§fn from(value: SecretPatch) -> Self
fn from(value: SecretPatch) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for SecretPatch
impl JsonSchema for SecretPatch
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 SecretPatch
impl PartialEq for SecretPatch
Source§impl Patch<SecretPatch> for Secret
impl Patch<SecretPatch> for Secret
Source§fn apply(&mut self, patch: SecretPatch)
fn apply(&mut self, patch: SecretPatch)
Apply a patch
Source§fn into_patch(self) -> SecretPatch
fn into_patch(self) -> SecretPatch
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> SecretPatch
fn into_patch_by_diff(self, previous_struct: Self) -> SecretPatch
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> SecretPatch
fn new_empty_patch() -> SecretPatch
Get an empty patch instance
impl StructuralPartialEq for SecretPatch
Auto Trait Implementations§
impl Freeze for SecretPatch
impl RefUnwindSafe for SecretPatch
impl Send for SecretPatch
impl Sync for SecretPatch
impl Unpin for SecretPatch
impl UnwindSafe for SecretPatch
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