pub struct TagBase {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub color: Option<Color>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
Name of the tag. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.
color: Option<Color>
Color of the tag.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TagBase
impl<'de> Deserialize<'de> for TagBase
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
impl StructuralPartialEq for TagBase
Auto Trait Implementations
impl RefUnwindSafe for TagBase
impl Send for TagBase
impl Sync for TagBase
impl Unpin for TagBase
impl UnwindSafe for TagBase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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