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§fn clone(&self) -> PolicyGrant
fn clone(&self) -> PolicyGrant
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 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<PolicyGrant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PolicyGrant, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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