pub struct Site {
pub name: String,
pub launch_date: u32,
pub open_beta_date: Option<u32>,
pub aliases: Option<Vec<String>>,
pub logo_url: String,
pub site_type: String,
pub related_sites: Option<Vec<RelatedSite>>,
}
Expand description
This type represents a site in the Stack Exchange network. https://api.stackexchange.com/docs/types/site
Fields§
§name: String
§launch_date: u32
§open_beta_date: Option<u32>
§aliases: Option<Vec<String>>
§logo_url: String
§site_type: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Site
impl<'de> Deserialize<'de> for Site
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 Site
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnwindSafe for Site
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