pub struct ClassificationGroup {
pub aliases: Vec<NameString>,
pub auto_select: bool,
pub description: String,
pub name: NameString,
pub short_name: NameString,
pub solitary_display_name: Option<NameString>,
pub is_hidden: bool,
}Expand description
A group granted access to an object
Fields§
§aliases: Vec<NameString>List of alternate names for this group
auto_select: boolThis is a special flag that when set to true, if any groups are selected in a classification. This group will automatically be selected too. (optional)
description: StringLong form description of marking
name: NameStringLong form canonical name of marking
short_name: NameStringShort form canonical name of marking
solitary_display_name: Option<NameString>Assuming that this groups is the only group selected, this is the display name that will be used in the classification (that values has to be in the aliases of this group and only this group) (optional)
Should the marking be skipped building UI options
Implementations§
Trait Implementations§
Source§impl Clone for ClassificationGroup
impl Clone for ClassificationGroup
Source§fn clone(&self) -> ClassificationGroup
fn clone(&self) -> ClassificationGroup
Returns a duplicate of the value. Read more
1.0.0 · 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 ClassificationGroup
impl Debug for ClassificationGroup
Source§impl<'de> Deserialize<'de> for ClassificationGroup
impl<'de> Deserialize<'de> for ClassificationGroup
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
Source§impl PartialEq for ClassificationGroup
impl PartialEq for ClassificationGroup
Source§impl Serialize for ClassificationGroup
impl Serialize for ClassificationGroup
impl StructuralPartialEq for ClassificationGroup
Auto Trait Implementations§
impl Freeze for ClassificationGroup
impl RefUnwindSafe for ClassificationGroup
impl Send for ClassificationGroup
impl Sync for ClassificationGroup
impl Unpin for ClassificationGroup
impl UnwindSafe for ClassificationGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more