pub struct LabelUpdate {
pub name: Option<String>,
pub properties: Option<HashMap<String, String>>,
}
Expand description
LabelUpdateRequest
Fields
name: Option<String>
Name
properties: Option<HashMap<String, String>>
Key/Value pairs associated with this label.
Implementations
sourceimpl LabelUpdate
impl LabelUpdate
Trait Implementations
sourceimpl Clone for LabelUpdate
impl Clone for LabelUpdate
sourcefn clone(&self) -> LabelUpdate
fn clone(&self) -> LabelUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LabelUpdate
impl Debug for LabelUpdate
sourceimpl Default for LabelUpdate
impl Default for LabelUpdate
sourcefn default() -> LabelUpdate
fn default() -> LabelUpdate
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LabelUpdate
impl<'de> Deserialize<'de> for LabelUpdate
sourcefn 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
sourceimpl PartialEq<LabelUpdate> for LabelUpdate
impl PartialEq<LabelUpdate> for LabelUpdate
sourcefn eq(&self, other: &LabelUpdate) -> bool
fn eq(&self, other: &LabelUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LabelUpdate) -> bool
fn ne(&self, other: &LabelUpdate) -> bool
This method tests for !=
.
sourceimpl Serialize for LabelUpdate
impl Serialize for LabelUpdate
impl StructuralPartialEq for LabelUpdate
Auto Trait Implementations
impl RefUnwindSafe for LabelUpdate
impl Send for LabelUpdate
impl Sync for LabelUpdate
impl Unpin for LabelUpdate
impl UnwindSafe for LabelUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more