pub struct UpdateNeededReason {
pub type_: String,
pub message: Option<String>,
}Expand description
Why the client must be updated (UpdateNeededReason).
Fields§
§type_: StringVersionNotSupported, SchemaVersionNotSupported, or
NewClientGroup.
message: Option<String>The server’s explanation, if it gave one.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateNeededReason
impl Clone for UpdateNeededReason
Source§impl Debug for UpdateNeededReason
impl Debug for UpdateNeededReason
impl Eq for UpdateNeededReason
Source§impl PartialEq for UpdateNeededReason
impl PartialEq for UpdateNeededReason
impl StructuralPartialEq for UpdateNeededReason
Auto Trait Implementations§
impl Forget for UpdateNeededReason
impl Freeze for UpdateNeededReason
impl Move for UpdateNeededReason
impl RefUnwindSafe for UpdateNeededReason
impl Send for UpdateNeededReason
impl Sync for UpdateNeededReason
impl Unpin for UpdateNeededReason
impl UnsafeUnpin for UpdateNeededReason
impl UnwindSafe for UpdateNeededReason
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