Struct google_logging2::api::LabelDescriptor
source · pub struct LabelDescriptor {
pub description: Option<String>,
pub key: Option<String>,
pub value_type: Option<String>,
}
Expand description
A description of a label.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<String>
A human-readable description for the label.
key: Option<String>
The label key.
value_type: Option<String>
The type of data that can be assigned to the label.
Trait Implementations§
source§impl Clone for LabelDescriptor
impl Clone for LabelDescriptor
source§fn clone(&self) -> LabelDescriptor
fn clone(&self) -> LabelDescriptor
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 LabelDescriptor
impl Debug for LabelDescriptor
source§impl Default for LabelDescriptor
impl Default for LabelDescriptor
source§fn default() -> LabelDescriptor
fn default() -> LabelDescriptor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LabelDescriptor
impl<'de> Deserialize<'de> for LabelDescriptor
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 Serialize for LabelDescriptor
impl Serialize for LabelDescriptor
impl Part for LabelDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for LabelDescriptor
impl Send for LabelDescriptor
impl Sync for LabelDescriptor
impl Unpin for LabelDescriptor
impl UnwindSafe for LabelDescriptor
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