pub struct MetadataPatch {
pub key: String,
pub value: Option<String>,
pub remove: Option<bool>,
}Expand description
Metadata patch
Fields§
§key: String§value: Option<String>§remove: Option<bool>Trait Implementations§
Source§impl Clone for MetadataPatch
impl Clone for MetadataPatch
Source§fn clone(&self) -> MetadataPatch
fn clone(&self) -> MetadataPatch
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 MetadataPatch
impl Debug for MetadataPatch
Source§impl<'de> Deserialize<'de> for MetadataPatch
impl<'de> Deserialize<'de> for MetadataPatch
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 MetadataPatch
impl RefUnwindSafe for MetadataPatch
impl Send for MetadataPatch
impl Sync for MetadataPatch
impl Unpin for MetadataPatch
impl UnsafeUnpin for MetadataPatch
impl UnwindSafe for MetadataPatch
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