#[non_exhaustive]pub enum ApiUpdateGroupProfileResponse {
GroupUpdated(GroupUpdatedResponse),
ChatCmdError(ChatCmdErrorResponse),
Undocumented(BTreeMap<String, Value>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GroupUpdated(GroupUpdatedResponse)
GroupUpdated: Group updated.
ChatCmdError(ChatCmdErrorResponse)
ChatCmdError: Command error.
Undocumented(BTreeMap<String, Value>)
Implementations§
Source§impl ApiUpdateGroupProfileResponse
impl ApiUpdateGroupProfileResponse
pub fn group_updated(&self) -> Option<&GroupUpdatedResponse>
pub fn chat_cmd_error(&self) -> Option<&ChatCmdErrorResponse>
pub fn undocumented(&self) -> Option<&BTreeMap<String, Value>>
Trait Implementations§
Source§impl Clone for ApiUpdateGroupProfileResponse
impl Clone for ApiUpdateGroupProfileResponse
Source§fn clone(&self) -> ApiUpdateGroupProfileResponse
fn clone(&self) -> ApiUpdateGroupProfileResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ApiUpdateGroupProfileResponse
impl<'de> Deserialize<'de> for ApiUpdateGroupProfileResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApiUpdateGroupProfileResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApiUpdateGroupProfileResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApiUpdateGroupProfileResponse
impl PartialEq for ApiUpdateGroupProfileResponse
Source§fn eq(&self, other: &ApiUpdateGroupProfileResponse) -> bool
fn eq(&self, other: &ApiUpdateGroupProfileResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiUpdateGroupProfileResponse
impl Serialize for ApiUpdateGroupProfileResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ApiUpdateGroupProfileResponse
Auto Trait Implementations§
impl Freeze for ApiUpdateGroupProfileResponse
impl RefUnwindSafe for ApiUpdateGroupProfileResponse
impl Send for ApiUpdateGroupProfileResponse
impl Sync for ApiUpdateGroupProfileResponse
impl Unpin for ApiUpdateGroupProfileResponse
impl UnwindSafe for ApiUpdateGroupProfileResponse
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