pub struct Resolved {
pub members: BTreeMap<MemberId, Member>,
pub roles: BTreeMap<RoleId, Role>,
pub channels: BTreeMap<ChannelId, Channel>,
pub messages: BTreeMap<MessageId, Message>,
pub attachments: BTreeMap<AttachmentId, Attachment>,
}Expand description
Objects an interaction refers to, resolved by the host.
Fields§
§members: BTreeMap<MemberId, Member>Members.
roles: BTreeMap<RoleId, Role>Roles.
channels: BTreeMap<ChannelId, Channel>Channels.
messages: BTreeMap<MessageId, Message>Messages.
attachments: BTreeMap<AttachmentId, Attachment>Attachments.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resolved
impl<'de> Deserialize<'de> for Resolved
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 StructuralPartialEq for Resolved
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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