pub struct PermissionOverwrite {
pub allow: Permissions,
pub deny: Permissions,
pub id: Id<GenericMarker>,
pub kind: PermissionOverwriteType,
}
Expand description
Permission overwrite data for a role or member.
Fields§
§allow: Permissions
§deny: Permissions
§id: Id<GenericMarker>
§kind: PermissionOverwriteType
Trait Implementations§
source§impl Clone for PermissionOverwrite
impl Clone for PermissionOverwrite
source§fn clone(&self) -> PermissionOverwrite
fn clone(&self) -> PermissionOverwrite
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 PermissionOverwrite
impl Debug for PermissionOverwrite
source§impl<'de> Deserialize<'de> for PermissionOverwrite
impl<'de> Deserialize<'de> for PermissionOverwrite
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 Hash for PermissionOverwrite
impl Hash for PermissionOverwrite
source§impl PartialEq for PermissionOverwrite
impl PartialEq for PermissionOverwrite
source§impl Serialize for PermissionOverwrite
impl Serialize for PermissionOverwrite
impl Copy for PermissionOverwrite
impl Eq for PermissionOverwrite
impl StructuralPartialEq for PermissionOverwrite
Auto Trait Implementations§
impl Freeze for PermissionOverwrite
impl RefUnwindSafe for PermissionOverwrite
impl Send for PermissionOverwrite
impl Sync for PermissionOverwrite
impl Unpin for PermissionOverwrite
impl UnwindSafe for PermissionOverwrite
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)