pub struct ApplicationIntegrationMap<Guild, User = Guild> {
pub guild: Option<Guild>,
pub user: Option<User>,
}
Fields§
§guild: Option<Guild>
§user: Option<User>
Trait Implementations§
source§impl<Guild: Clone, User: Clone> Clone for ApplicationIntegrationMap<Guild, User>
impl<Guild: Clone, User: Clone> Clone for ApplicationIntegrationMap<Guild, User>
source§fn clone(&self) -> ApplicationIntegrationMap<Guild, User>
fn clone(&self) -> ApplicationIntegrationMap<Guild, User>
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<'de, Guild, User> Deserialize<'de> for ApplicationIntegrationMap<Guild, User>where
Guild: Deserialize<'de>,
User: Deserialize<'de>,
impl<'de, Guild, User> Deserialize<'de> for ApplicationIntegrationMap<Guild, User>where
Guild: Deserialize<'de>,
User: Deserialize<'de>,
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<Guild: PartialEq, User: PartialEq> PartialEq for ApplicationIntegrationMap<Guild, User>
impl<Guild: PartialEq, User: PartialEq> PartialEq for ApplicationIntegrationMap<Guild, User>
source§fn eq(&self, other: &ApplicationIntegrationMap<Guild, User>) -> bool
fn eq(&self, other: &ApplicationIntegrationMap<Guild, User>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl<Guild, User> Serialize for ApplicationIntegrationMap<Guild, User>
impl<Guild, User> Serialize for ApplicationIntegrationMap<Guild, User>
impl<Guild: Eq, User: Eq> Eq for ApplicationIntegrationMap<Guild, User>
impl<Guild, User> StructuralPartialEq for ApplicationIntegrationMap<Guild, User>
Auto Trait Implementations§
impl<Guild, User> Freeze for ApplicationIntegrationMap<Guild, User>
impl<Guild, User> RefUnwindSafe for ApplicationIntegrationMap<Guild, User>where
Guild: RefUnwindSafe,
User: RefUnwindSafe,
impl<Guild, User> Send for ApplicationIntegrationMap<Guild, User>
impl<Guild, User> Sync for ApplicationIntegrationMap<Guild, User>
impl<Guild, User> Unpin for ApplicationIntegrationMap<Guild, User>
impl<Guild, User> UnwindSafe for ApplicationIntegrationMap<Guild, User>where
Guild: UnwindSafe,
User: UnwindSafe,
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
)