pub struct Version {
pub id: String,
pub status: VersionStatus,
pub updated: Option<DateTime<Utc>>,
pub links: Option<Vec<Link>>,
pub media_types: Option<Vec<MediaType>>,
}Expand description
Single API version.
Fields§
§id: StringVersion id.
status: VersionStatusVersion status.
updated: Option<DateTime<Utc>>Date of the version update.
links: Option<Vec<Link>>Links to the API version.
media_types: Option<Vec<MediaType>>Supported media types.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
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
Source§impl<'v_a> ValidateArgs<'v_a> for Version
impl<'v_a> ValidateArgs<'v_a> for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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