pub struct JoinResponse {
pub error: Option<String>,
pub num_joined: Option<i32>,
}
Fields§
§error: Option<String>
§num_joined: Option<i32>
Implementations§
Source§impl JoinResponse
impl JoinResponse
pub fn new() -> JoinResponse
Trait Implementations§
Source§impl Clone for JoinResponse
impl Clone for JoinResponse
Source§fn clone(&self) -> JoinResponse
fn clone(&self) -> JoinResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JoinResponse
impl Debug for JoinResponse
Source§impl<'de> Deserialize<'de> for JoinResponse
impl<'de> Deserialize<'de> for JoinResponse
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
Source§impl PartialEq for JoinResponse
impl PartialEq for JoinResponse
Source§impl Serialize for JoinResponse
impl Serialize for JoinResponse
impl StructuralPartialEq for JoinResponse
Auto Trait Implementations§
impl Freeze for JoinResponse
impl RefUnwindSafe for JoinResponse
impl Send for JoinResponse
impl Sync for JoinResponse
impl Unpin for JoinResponse
impl UnwindSafe for JoinResponse
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