Struct bonsaidb_core::schema::Authority
source · pub struct Authority(_);
Expand description
The owner of a schema item. This should represent the company, group, or individual that created the item in question. This value is used for namespacing. Changing this after values are in use is not supported without manual migrations at this time.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Authority
impl<'de> Deserialize<'de> for Authority
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 Ord for Authority
impl Ord for Authority
source§impl PartialEq<Authority> for Authority
impl PartialEq<Authority> for Authority
source§impl PartialOrd<Authority> for Authority
impl PartialOrd<Authority> for Authority
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more