pub struct HelloResult {
pub server: String,
pub version: String,
pub proto: usize,
pub id: i64,
pub mode: String,
pub role: String,
pub modules: Vec<ModuleInfo>,
}
Expand description
Result for the hello
command
Fields§
§server: String
§version: String
§proto: usize
§id: i64
§mode: String
§role: String
§modules: Vec<ModuleInfo>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HelloResult
impl<'de> Deserialize<'de> for HelloResult
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 HelloResult
impl RefUnwindSafe for HelloResult
impl Send for HelloResult
impl Sync for HelloResult
impl Unpin for HelloResult
impl UnwindSafe for HelloResult
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