pub struct TagsJobFacetFields {
pub key: String,
pub value: Option<String>,
pub source: Option<String>,
}Expand description
One tag of a TagsJobFacet: a key with an optional value and an optional
source naming the system that assigned the tag.
Fields§
§key: StringThe tag key.
value: Option<String>The tag value, if any.
source: Option<String>The system that assigned the tag, if known.
Trait Implementations§
Source§impl Clone for TagsJobFacetFields
impl Clone for TagsJobFacetFields
Source§fn clone(&self) -> TagsJobFacetFields
fn clone(&self) -> TagsJobFacetFields
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 TagsJobFacetFields
impl Debug for TagsJobFacetFields
Source§impl<'de> Deserialize<'de> for TagsJobFacetFields
impl<'de> Deserialize<'de> for TagsJobFacetFields
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 TagsJobFacetFields
impl RefUnwindSafe for TagsJobFacetFields
impl Send for TagsJobFacetFields
impl Sync for TagsJobFacetFields
impl Unpin for TagsJobFacetFields
impl UnsafeUnpin for TagsJobFacetFields
impl UnwindSafe for TagsJobFacetFields
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