pub struct Tag {
pub color: String,
pub description: Option<String>,
pub id: i64,
pub name: String,
pub modified_at: Option<String>,
pub modified_by: Option<i64>,
pub modified_date: Option<String>,
pub modified_pid: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Tag label and display properties. The REST tag controller does not return the tag domain or audit metadata.
Fields§
§color: StringStored semantic color, or basic when no color is stored.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
description: Option<String>§id: i64§name: String§modified_at: Option<String>👎Deprecated:
§deprecated in the ChurchTools API
modified_by: Option<i64>👎Deprecated:
§deprecated in the ChurchTools API
modified_date: Option<String>👎Deprecated:
§deprecated in the ChurchTools API
modified_pid: Option<String>👎Deprecated:
§deprecated in the ChurchTools API
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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 StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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