pub struct PolicyGrant {
pub key: PolicyKey,
pub mode: GrantMode,
}Fields§
§key: PolicyKey§mode: GrantModeTrait Implementations§
Source§impl Clone for PolicyGrant
impl Clone for PolicyGrant
Source§impl Debug for PolicyGrant
impl Debug for PolicyGrant
Source§impl<'de> Deserialize<'de> for PolicyGrant
impl<'de> Deserialize<'de> for PolicyGrant
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 PolicyGrant
Source§impl PartialEq for PolicyGrant
impl PartialEq for PolicyGrant
Source§impl Serialize for PolicyGrant
impl Serialize for PolicyGrant
impl StructuralPartialEq for PolicyGrant
Auto Trait Implementations§
impl Freeze for PolicyGrant
impl RefUnwindSafe for PolicyGrant
impl Send for PolicyGrant
impl Sync for PolicyGrant
impl Unpin for PolicyGrant
impl UnsafeUnpin for PolicyGrant
impl UnwindSafe for PolicyGrant
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