pub struct AsnSite {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
pub slug: String,
}Expand description
AsnSite : This serializer is meant for inclusion in ASNSerializer and is only used to avoid a circular import of SiteSerializer.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: StringFull name of the site
description: Option<String>§slug: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AsnSite
impl<'de> Deserialize<'de> for AsnSite
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 AsnSite
Auto Trait Implementations§
impl Freeze for AsnSite
impl RefUnwindSafe for AsnSite
impl Send for AsnSite
impl Sync for AsnSite
impl Unpin for AsnSite
impl UnsafeUnpin for AsnSite
impl UnwindSafe for AsnSite
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