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 moreimpl Eq for Authority
impl StructuralEq for Authority
impl StructuralPartialEq for Authority
Auto Trait Implementations§
impl RefUnwindSafe for Authority
impl Send for Authority
impl Sync for Authority
impl Unpin for Authority
impl UnwindSafe for Authority
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