pub struct AuthzRequest {
pub actor: String,
pub action: String,
pub resource: Option<String>,
}Fields§
§actor: String§action: String§resource: Option<String>Trait Implementations§
Source§impl Clone for AuthzRequest
impl Clone for AuthzRequest
Source§fn clone(&self) -> AuthzRequest
fn clone(&self) -> AuthzRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthzRequest
impl Debug for AuthzRequest
Source§impl<'de> Deserialize<'de> for AuthzRequest
impl<'de> Deserialize<'de> for AuthzRequest
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
Auto Trait Implementations§
impl Freeze for AuthzRequest
impl RefUnwindSafe for AuthzRequest
impl Send for AuthzRequest
impl Sync for AuthzRequest
impl Unpin for AuthzRequest
impl UnsafeUnpin for AuthzRequest
impl UnwindSafe for AuthzRequest
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