pub struct NonResourceAttributes {
pub path: Option<String>,
pub verb: Option<String>,
}
Expand description
NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
Fields§
§path: Option<String>
Path is the URL path of the request
verb: Option<String>
Verb is the standard HTTP verb
Trait Implementations§
Source§impl Clone for NonResourceAttributes
impl Clone for NonResourceAttributes
Source§fn clone(&self) -> NonResourceAttributes
fn clone(&self) -> NonResourceAttributes
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 NonResourceAttributes
impl Debug for NonResourceAttributes
Source§impl DeepMerge for NonResourceAttributes
impl DeepMerge for NonResourceAttributes
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for NonResourceAttributes
impl Default for NonResourceAttributes
Source§fn default() -> NonResourceAttributes
fn default() -> NonResourceAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NonResourceAttributes
impl<'de> Deserialize<'de> for NonResourceAttributes
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 NonResourceAttributes
impl PartialEq for NonResourceAttributes
Source§impl Serialize for NonResourceAttributes
impl Serialize for NonResourceAttributes
impl StructuralPartialEq for NonResourceAttributes
Auto Trait Implementations§
impl Freeze for NonResourceAttributes
impl RefUnwindSafe for NonResourceAttributes
impl Send for NonResourceAttributes
impl Sync for NonResourceAttributes
impl Unpin for NonResourceAttributes
impl UnwindSafe for NonResourceAttributes
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