Struct serenity::model::guild::AuditLogs [−][src]
#[non_exhaustive]pub struct AuditLogs { pub entries: HashMap<AuditLogEntryId, AuditLogEntry>, pub webhooks: Vec<Webhook>, pub users: Vec<User>, }
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entries: HashMap<AuditLogEntryId, AuditLogEntry>
webhooks: Vec<Webhook>
users: Vec<User>
Trait Implementations
impl<'de> Deserialize<'de> for AuditLogs
[src]
impl<'de> Deserialize<'de> for AuditLogs
[src]fn deserialize<D: Deserializer<'de>>(de: D) -> StdResult<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(de: D) -> StdResult<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AuditLogs
impl Send for AuditLogs
impl Sync for AuditLogs
impl Unpin for AuditLogs
impl UnwindSafe for AuditLogs
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,