pub struct TagCompact {
pub gid: String,
pub name: String,
pub resource_type: Option<String>,
}Expand description
Compact tag reference used in listings.
Fields§
§gid: StringGlobally unique identifier.
name: StringTag name.
resource_type: Option<String>Resource type marker.
Implementations§
Trait Implementations§
Source§impl Clone for TagCompact
impl Clone for TagCompact
Source§fn clone(&self) -> TagCompact
fn clone(&self) -> TagCompact
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 TagCompact
impl Debug for TagCompact
Source§impl<'de> Deserialize<'de> for TagCompact
impl<'de> Deserialize<'de> for TagCompact
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
impl Eq for TagCompact
Source§impl Ord for TagCompact
impl Ord for TagCompact
Source§fn cmp(&self, other: &TagCompact) -> Ordering
fn cmp(&self, other: &TagCompact) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TagCompact
impl PartialEq for TagCompact
Source§impl PartialOrd for TagCompact
impl PartialOrd for TagCompact
Source§impl Serialize for TagCompact
impl Serialize for TagCompact
impl StructuralPartialEq for TagCompact
Auto Trait Implementations§
impl Freeze for TagCompact
impl RefUnwindSafe for TagCompact
impl Send for TagCompact
impl Sync for TagCompact
impl Unpin for TagCompact
impl UnsafeUnpin for TagCompact
impl UnwindSafe for TagCompact
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