pub struct AuthorizationAttributes(/* private fields */);Implementations§
Source§impl AuthorizationAttributes
impl AuthorizationAttributes
pub fn new<T: Into<Vec<AuthorizationAttribute>>>(v: T) -> Self
pub fn att<T: Into<AuthorizationAttribute>>(self, v: T) -> Self
pub fn push<T: Into<AuthorizationAttribute>>(&mut self, v: T)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> impl Iterator<Item = &AuthorizationAttribute>
Trait Implementations§
Source§impl Clone for AuthorizationAttributes
impl Clone for AuthorizationAttributes
Source§impl Debug for AuthorizationAttributes
impl Debug for AuthorizationAttributes
Source§impl Default for AuthorizationAttributes
impl Default for AuthorizationAttributes
Source§impl<'de> Deserialize<'de> for AuthorizationAttributes
impl<'de> Deserialize<'de> for AuthorizationAttributes
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
impl Eq for AuthorizationAttributes
Source§impl<A, B, C> From<(A, B, C)> for AuthorizationAttributeswhere
A: Into<AuthorizationAttribute>,
B: Into<AuthorizationAttribute>,
C: Into<AuthorizationAttribute>,
impl<A, B, C> From<(A, B, C)> for AuthorizationAttributeswhere
A: Into<AuthorizationAttribute>,
B: Into<AuthorizationAttribute>,
C: Into<AuthorizationAttribute>,
Source§impl<A> From<A> for AuthorizationAttributeswhere
A: Into<AuthorizationAttribute>,
impl<A> From<A> for AuthorizationAttributeswhere
A: Into<AuthorizationAttribute>,
Source§impl PartialEq for AuthorizationAttributes
impl PartialEq for AuthorizationAttributes
Source§impl Serialize for AuthorizationAttributes
impl Serialize for AuthorizationAttributes
impl StructuralPartialEq for AuthorizationAttributes
Auto Trait Implementations§
impl Freeze for AuthorizationAttributes
impl RefUnwindSafe for AuthorizationAttributes
impl Send for AuthorizationAttributes
impl Sync for AuthorizationAttributes
impl Unpin for AuthorizationAttributes
impl UnsafeUnpin for AuthorizationAttributes
impl UnwindSafe for AuthorizationAttributes
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