pub struct Tos {
pub actor: i64,
pub created_at: Option<DateTime<Utc>>,
pub id: Option<i64>,
pub published_at: DateTime<Utc>,
pub terms: String,
pub version: String,
}
Fields§
§actor: i64
§created_at: Option<DateTime<Utc>>
§id: Option<i64>
§published_at: DateTime<Utc>
§terms: String
§version: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tos
impl<'de> Deserialize<'de> for Tos
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 RefUnwindSafe for Tos
impl Send for Tos
impl Sync for Tos
impl Unpin for Tos
impl UnwindSafe for Tos
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