Struct twilight_model::template::Template [−][src]
pub struct Template { pub code: String, pub created_at: String, pub creator: User, pub creator_id: UserId, pub description: Option<String>, pub is_dirty: Option<bool>, pub name: String, pub serialized_source_guild: TemplateGuild, pub source_guild_id: GuildId, pub updated_at: String, pub usage_count: u64, }
Fields
code: String
created_at: String
creator: User
User object of who created this template.
creator_id: UserId
ID of the user who created this template.
description: Option<String>
is_dirty: Option<bool>
Whether the template has unsynced changes.
name: String
serialized_source_guild: TemplateGuild
source_guild_id: GuildId
updated_at: String
usage_count: u64
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Template
impl UnwindSafe for Template
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more