pub struct UnsupportedProtocolVersionErrorObject {
pub code: i64,
pub data: UnsupportedProtocolVersionErrorData,
pub message: String,
}Fields§
§code: i64§data: UnsupportedProtocolVersionErrorData§message: StringA short description of the error. The message SHOULD be limited to a concise single sentence.
Implementations§
Source§impl UnsupportedProtocolVersionErrorObject
impl UnsupportedProtocolVersionErrorObject
Sourcepub fn new(
code: i64,
data: UnsupportedProtocolVersionErrorData,
message: String,
) -> Self
pub fn new( code: i64, data: UnsupportedProtocolVersionErrorData, message: String, ) -> Self
Creates a value from its required fields; optional fields are None.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnsupportedProtocolVersionErrorObject
impl<'de> Deserialize<'de> for UnsupportedProtocolVersionErrorObject
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
impl StructuralPartialEq for UnsupportedProtocolVersionErrorObject
Auto Trait Implementations§
impl Freeze for UnsupportedProtocolVersionErrorObject
impl RefUnwindSafe for UnsupportedProtocolVersionErrorObject
impl Send for UnsupportedProtocolVersionErrorObject
impl Sync for UnsupportedProtocolVersionErrorObject
impl Unpin for UnsupportedProtocolVersionErrorObject
impl UnsafeUnpin for UnsupportedProtocolVersionErrorObject
impl UnwindSafe for UnsupportedProtocolVersionErrorObject
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