pub struct LeaveResponse {
pub ok: bool,
pub error: Option<String>,
pub response_metadata: Option<ResponseMetadata>,
pub not_in_channel: Option<bool>,
}Fields§
§ok: bool§error: Option<String>§response_metadata: Option<ResponseMetadata>§not_in_channel: Option<bool>Trait Implementations§
Source§impl Debug for LeaveResponse
impl Debug for LeaveResponse
Source§impl Default for LeaveResponse
impl Default for LeaveResponse
Source§fn default() -> LeaveResponse
fn default() -> LeaveResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeaveResponse
impl<'de> Deserialize<'de> for LeaveResponse
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 LeaveResponse
impl PartialEq for LeaveResponse
Source§impl Serialize for LeaveResponse
impl Serialize for LeaveResponse
impl StructuralPartialEq for LeaveResponse
Auto Trait Implementations§
impl Freeze for LeaveResponse
impl RefUnwindSafe for LeaveResponse
impl Send for LeaveResponse
impl Sync for LeaveResponse
impl Unpin for LeaveResponse
impl UnwindSafe for LeaveResponse
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