pub struct CodecVersionRequiredBody {
pub error: String,
pub minimum_version: String,
pub required_features: Vec<String>,
pub client_version: String,
pub docs_url: Option<String>,
pub deployment_id: Option<String>,
}Expand description
Shape of the JSON body on a v0.4 server’s 426 response.
Fields§
§error: String§minimum_version: String§required_features: Vec<String>§client_version: String§docs_url: Option<String>§deployment_id: Option<String>Trait Implementations§
Source§impl Clone for CodecVersionRequiredBody
impl Clone for CodecVersionRequiredBody
Source§fn clone(&self) -> CodecVersionRequiredBody
fn clone(&self) -> CodecVersionRequiredBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodecVersionRequiredBody
impl Debug for CodecVersionRequiredBody
Source§impl<'de> Deserialize<'de> for CodecVersionRequiredBody
impl<'de> Deserialize<'de> for CodecVersionRequiredBody
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 CodecVersionRequiredBody
impl RefUnwindSafe for CodecVersionRequiredBody
impl Send for CodecVersionRequiredBody
impl Sync for CodecVersionRequiredBody
impl Unpin for CodecVersionRequiredBody
impl UnsafeUnpin for CodecVersionRequiredBody
impl UnwindSafe for CodecVersionRequiredBody
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