pub struct HelloResponse {
pub server: String,
pub version: String,
pub protocol: i64,
pub id: i64,
pub mode: String,
pub role: String,
pub modules: Vec<BytesFrame>,
}Expand description
Mapped response to HELLO command
Fields§
§server: String§version: String§protocol: i64§id: i64§mode: String§role: String§modules: Vec<BytesFrame>Trait Implementations§
Source§impl Debug for HelloResponse
impl Debug for HelloResponse
Source§impl TryFrom<BytesFrame> for HelloResponse
impl TryFrom<BytesFrame> for HelloResponse
Source§type Error = ResponseTypeError
type Error = ResponseTypeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for HelloResponse
impl RefUnwindSafe for HelloResponse
impl Send for HelloResponse
impl Sync for HelloResponse
impl Unpin for HelloResponse
impl UnwindSafe for HelloResponse
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more