pub struct CapabilitiesResponseApi {
pub versions: Vec<String>,
}Expand description
API capability information.
JSON schema
{
"description": "API capability information.",
"type": "object",
"required": [
"versions"
],
"properties": {
"versions": {
"description": "Supported API versions (for example `v1`, `v2`, `v3`).",
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§versions: Vec<String>Supported API versions (for example v1, v2, v3).
Trait Implementations§
Source§impl Clone for CapabilitiesResponseApi
impl Clone for CapabilitiesResponseApi
Source§fn clone(&self) -> CapabilitiesResponseApi
fn clone(&self) -> CapabilitiesResponseApi
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 CapabilitiesResponseApi
impl Debug for CapabilitiesResponseApi
Source§impl<'de> Deserialize<'de> for CapabilitiesResponseApi
impl<'de> Deserialize<'de> for CapabilitiesResponseApi
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 CapabilitiesResponseApi
impl RefUnwindSafe for CapabilitiesResponseApi
impl Send for CapabilitiesResponseApi
impl Sync for CapabilitiesResponseApi
impl Unpin for CapabilitiesResponseApi
impl UnsafeUnpin for CapabilitiesResponseApi
impl UnwindSafe for CapabilitiesResponseApi
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