pub struct LabelResourceProperties {
pub resource_base_properties: ResourceBaseProperties,
pub display_name: Option<String>,
pub color: Option<String>,
}
Expand description
Label properties.
Fields§
§resource_base_properties: ResourceBaseProperties
§display_name: Option<String>
Label display name.
color: Option<String>
Label color.
Implementations§
Trait Implementations§
source§impl Clone for LabelResourceProperties
impl Clone for LabelResourceProperties
source§fn clone(&self) -> LabelResourceProperties
fn clone(&self) -> LabelResourceProperties
Returns a copy 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 LabelResourceProperties
impl Debug for LabelResourceProperties
source§impl Default for LabelResourceProperties
impl Default for LabelResourceProperties
source§fn default() -> LabelResourceProperties
fn default() -> LabelResourceProperties
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LabelResourceProperties
impl<'de> Deserialize<'de> for LabelResourceProperties
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 PartialEq for LabelResourceProperties
impl PartialEq for LabelResourceProperties
source§fn eq(&self, other: &LabelResourceProperties) -> bool
fn eq(&self, other: &LabelResourceProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LabelResourceProperties
impl Serialize for LabelResourceProperties
impl StructuralPartialEq for LabelResourceProperties
Auto Trait Implementations§
impl Freeze for LabelResourceProperties
impl RefUnwindSafe for LabelResourceProperties
impl Send for LabelResourceProperties
impl Sync for LabelResourceProperties
impl Unpin for LabelResourceProperties
impl UnwindSafe for LabelResourceProperties
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