pub struct AccessPolicyRequest {
pub grantee_id: Uuid,
pub read: bool,
pub write: bool,
}
Fields§
§grantee_id: Uuid
§read: bool
§write: bool
Implementations§
Trait Implementations§
Source§impl Clone for AccessPolicyRequest
impl Clone for AccessPolicyRequest
Source§fn clone(&self) -> AccessPolicyRequest
fn clone(&self) -> AccessPolicyRequest
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 AccessPolicyRequest
impl Debug for AccessPolicyRequest
Source§impl Default for AccessPolicyRequest
impl Default for AccessPolicyRequest
Source§fn default() -> AccessPolicyRequest
fn default() -> AccessPolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessPolicyRequest
impl<'de> Deserialize<'de> for AccessPolicyRequest
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 AccessPolicyRequest
impl PartialEq for AccessPolicyRequest
Source§impl Serialize for AccessPolicyRequest
impl Serialize for AccessPolicyRequest
impl StructuralPartialEq for AccessPolicyRequest
Auto Trait Implementations§
impl Freeze for AccessPolicyRequest
impl RefUnwindSafe for AccessPolicyRequest
impl Send for AccessPolicyRequest
impl Sync for AccessPolicyRequest
impl Unpin for AccessPolicyRequest
impl UnwindSafe for AccessPolicyRequest
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