pub struct ApiNextVersion {
pub version: Option<String>,
pub available_at: Option<String>,
pub available_from: Option<Option<String>>,
}Expand description
ApiNextVersion : Next version of the API. The next version is used to indicate the next version of the API that is being used. The version is in semantic versioning format, e.g. "4.0.0" and it is a version released at osdm.io.
Fields§
§version: Option<String>Version of the next API.
available_at: Option<String>§available_from: Option<Option<String>>Date from which the next version is available.
Implementations§
Source§impl ApiNextVersion
impl ApiNextVersion
Sourcepub fn new() -> ApiNextVersion
pub fn new() -> ApiNextVersion
Next version of the API. The next version is used to indicate the next version of the API that is being used. The version is in semantic versioning format, e.g. "4.0.0" and it is a version released at osdm.io.
Trait Implementations§
Source§impl Clone for ApiNextVersion
impl Clone for ApiNextVersion
Source§fn clone(&self) -> ApiNextVersion
fn clone(&self) -> ApiNextVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiNextVersion
impl Debug for ApiNextVersion
Source§impl Default for ApiNextVersion
impl Default for ApiNextVersion
Source§fn default() -> ApiNextVersion
fn default() -> ApiNextVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiNextVersion
impl<'de> Deserialize<'de> for ApiNextVersion
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 PartialEq for ApiNextVersion
impl PartialEq for ApiNextVersion
Source§impl Serialize for ApiNextVersion
impl Serialize for ApiNextVersion
impl StructuralPartialEq for ApiNextVersion
Auto Trait Implementations§
impl Freeze for ApiNextVersion
impl RefUnwindSafe for ApiNextVersion
impl Send for ApiNextVersion
impl Sync for ApiNextVersion
impl Unpin for ApiNextVersion
impl UnwindSafe for ApiNextVersion
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