pub struct EnableResponse {
pub ok: bool,
pub error: Option<String>,
pub response_metadata: Option<ResponseMetadata>,
pub usergroup: Option<Usergroup>,
}Fields§
§ok: bool§error: Option<String>§response_metadata: Option<ResponseMetadata>§usergroup: Option<Usergroup>Trait Implementations§
Source§impl Debug for EnableResponse
impl Debug for EnableResponse
Source§impl Default for EnableResponse
impl Default for EnableResponse
Source§fn default() -> EnableResponse
fn default() -> EnableResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnableResponse
impl<'de> Deserialize<'de> for EnableResponse
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 EnableResponse
impl PartialEq for EnableResponse
Source§fn eq(&self, other: &EnableResponse) -> bool
fn eq(&self, other: &EnableResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnableResponse
impl Serialize for EnableResponse
impl StructuralPartialEq for EnableResponse
Auto Trait Implementations§
impl Freeze for EnableResponse
impl RefUnwindSafe for EnableResponse
impl Send for EnableResponse
impl Sync for EnableResponse
impl Unpin for EnableResponse
impl UnsafeUnpin for EnableResponse
impl UnwindSafe for EnableResponse
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