Struct bonsaidb_core::permissions::ActionName  
pub struct ActionName(pub Vec<Cow<'static, str>>);Expand description
A unique name of an action.
Tuple Fields§
§0: Vec<Cow<'static, str>>Trait Implementations§
§impl Action for ActionName
 
impl Action for ActionName
§fn name(&self) -> ActionName
 
fn name(&self) -> ActionName
The full name of this action.
§impl Clone for ActionName
 
impl Clone for ActionName
§fn clone(&self) -> ActionName
 
fn clone(&self) -> ActionName
Returns a copy 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 more§impl Debug for ActionName
 
impl Debug for ActionName
§impl Default for ActionName
 
impl Default for ActionName
§fn default() -> ActionName
 
fn default() -> ActionName
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ActionName
 
impl<'de> Deserialize<'de> for ActionName
§fn deserialize<__D>(
    __deserializer: __D
) -> Result<ActionName, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<ActionName, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for ActionName
 
impl Display for ActionName
§impl Serialize for ActionName
 
impl Serialize for ActionName
§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ActionName
impl Send for ActionName
impl Sync for ActionName
impl Unpin for ActionName
impl UnwindSafe for ActionName
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