pub enum GroupSetting {
GroupId(u64),
GroupIds(GroupSettingIds),
}Expand description
Represents a group setting value.
Modified from openapi-generator-cli output:
$ openapi-generator-cli generate -g rust -i ./zerver/openapi/zulip.yaml -o zulip-openapi --skip-validate-spec/*
* Zulip REST API
*
* Powerful open source group chat
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/See zerver/openapi/zulip.yaml for the original OpenAPI configuration.
Configuration slightly modified to work with the Rust generator of openapi-generator-cli.
Variants§
Implementations§
Source§impl GroupSetting
impl GroupSetting
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new GroupSetting.
Trait Implementations§
Source§impl Clone for GroupSetting
impl Clone for GroupSetting
Source§impl Debug for GroupSetting
impl Debug for GroupSetting
Source§impl Default for GroupSetting
impl Default for GroupSetting
Source§impl<'de> Deserialize<'de> for GroupSetting
impl<'de> Deserialize<'de> for GroupSetting
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 Display for GroupSetting
impl Display for GroupSetting
Source§impl PartialEq for GroupSetting
impl PartialEq for GroupSetting
Source§impl Serialize for GroupSetting
impl Serialize for GroupSetting
impl StructuralPartialEq for GroupSetting
Auto Trait Implementations§
impl Freeze for GroupSetting
impl RefUnwindSafe for GroupSetting
impl Send for GroupSetting
impl Sync for GroupSetting
impl Unpin for GroupSetting
impl UnsafeUnpin for GroupSetting
impl UnwindSafe for GroupSetting
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