pub struct CreateTag {
pub name: String,
pub color: String,
pub match_pattern: String,
pub matching_algorithm: MatchAlgorithm,
pub is_insensitive: bool,
pub is_inbox_tag: bool,
pub owner: Option<UserId>,
pub parent: Option<TagId>,
}Fields§
§name: StringName of the tag.
color: StringColor of the tag, in hex format.
match_pattern: StringMatching pattern for the tag.
matching_algorithm: MatchAlgorithmMatching algorithm for the tag.
is_insensitive: boolWhether the tag matching is case-insensitive.
is_inbox_tag: boolWhether the tag is an inbox tag.
owner: Option<UserId>Owner of the tag.
parent: Option<TagId>Parent tag of this tag.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateTag
impl RefUnwindSafe for CreateTag
impl Send for CreateTag
impl Sync for CreateTag
impl Unpin for CreateTag
impl UnsafeUnpin for CreateTag
impl UnwindSafe for CreateTag
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