Struct embedded_redis::commands::hello::HelloResponse
source · pub struct HelloResponse {
pub server: String,
pub version: String,
pub protocol: i64,
pub id: i64,
pub mode: String,
pub role: String,
pub modules: Vec<Frame>,
}
Expand description
Mapped response to HELLO command
Fields§
§server: String
§version: String
§protocol: i64
§id: i64
§mode: String
§role: String
§modules: Vec<Frame>
Trait Implementations§
source§impl Debug for HelloResponse
impl Debug for HelloResponse
source§impl TryFrom<Frame> for HelloResponse
impl TryFrom<Frame> for HelloResponse
§type Error = ResponseTypeError
type Error = ResponseTypeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
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