#[repr(transparent)]pub struct TkBcLabelFlags(pub u32);Expand description
Bitmask flags representing declared TK / BC labels on an asset or entity.
Tuple Fields§
§0: u32Implementations§
Source§impl TkBcLabelFlags
impl TkBcLabelFlags
pub const NONE: Self
Sourcepub const TK_ATTRIBUTION: Self
pub const TK_ATTRIBUTION: Self
TK Attribution: Community origin attribution required.
Sourcepub const TK_NON_COMMERCIAL: Self
pub const TK_NON_COMMERCIAL: Self
TK Non-Commercial: Commercial extraction/monetization forbidden without consent.
Sourcepub const TK_CULTURALLY_SENSITIVE: Self
pub const TK_CULTURALLY_SENSITIVE: Self
TK Culturally Sensitive: Seasonal or ritual sensitivity gating access.
Sourcepub const TK_COMMUNITY_VERIFIED: Self
pub const TK_COMMUNITY_VERIFIED: Self
TK Verified: Community verification signed by verified custodians.
Sourcepub const BC_PROVENANCE: Self
pub const BC_PROVENANCE: Self
BC Provenance: Ecological/taxonomic origin in traditional lands.
Sourcepub const BC_MULTIPLE_COMMUNITY: Self
pub const BC_MULTIPLE_COMMUNITY: Self
BC Multiple Community: Multi-custodian shared biological commons.
Trait Implementations§
Source§impl Clone for TkBcLabelFlags
impl Clone for TkBcLabelFlags
impl Copy for TkBcLabelFlags
Source§impl Debug for TkBcLabelFlags
impl Debug for TkBcLabelFlags
Source§impl Default for TkBcLabelFlags
impl Default for TkBcLabelFlags
Source§impl<'de> Deserialize<'de> for TkBcLabelFlags
impl<'de> Deserialize<'de> for TkBcLabelFlags
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 TkBcLabelFlags
Source§impl PartialEq for TkBcLabelFlags
impl PartialEq for TkBcLabelFlags
impl Pod for TkBcLabelFlags
Source§impl Serialize for TkBcLabelFlags
impl Serialize for TkBcLabelFlags
impl StructuralPartialEq for TkBcLabelFlags
Auto Trait Implementations§
impl Freeze for TkBcLabelFlags
impl RefUnwindSafe for TkBcLabelFlags
impl Send for TkBcLabelFlags
impl Sync for TkBcLabelFlags
impl Unpin for TkBcLabelFlags
impl UnsafeUnpin for TkBcLabelFlags
impl UnwindSafe for TkBcLabelFlags
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
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 moreimpl<T> NoUninit for Twhere
T: Pod,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.