Struct headless_lms_server::domain::authorization::ActionOnResource
source · pub struct ActionOnResource {
pub action: Action,
pub resource: Resource,
}
Fields§
§action: Action
§resource: Resource
Trait Implementations§
source§impl Clone for ActionOnResource
impl Clone for ActionOnResource
source§fn clone(&self) -> ActionOnResource
fn clone(&self) -> ActionOnResource
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 moresource§impl Debug for ActionOnResource
impl Debug for ActionOnResource
source§impl<'de> Deserialize<'de> for ActionOnResource
impl<'de> Deserialize<'de> for ActionOnResource
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 ActionOnResource
impl PartialEq for ActionOnResource
source§fn eq(&self, other: &ActionOnResource) -> bool
fn eq(&self, other: &ActionOnResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActionOnResource
impl Serialize for ActionOnResource
impl StructuralPartialEq for ActionOnResource
Auto Trait Implementations§
impl RefUnwindSafe for ActionOnResource
impl Send for ActionOnResource
impl Sync for ActionOnResource
impl Unpin for ActionOnResource
impl UnwindSafe for ActionOnResource
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