pub struct Server {
pub id: String,
pub name: String,
pub short_desc: String,
pub long_desc: String,
pub tags: Vec<String>,
pub preview_channel: String,
pub owner: Owner,
pub icon: Icon,
pub links: ServerLinks,
pub status: ServerStatus,
}
Fields§
§id: String
§name: String
§short_desc: String
§long_desc: String
§preview_channel: String
§owner: Owner
§icon: Icon
§links: ServerLinks
§status: ServerStatus
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Server
impl<'de> Deserialize<'de> for Server
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
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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