pub struct RealmAvailableVideoChatProvider { /* private fields */ }Expand description
Represents the details of the video call provider with the name of the chat provider as the key.
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.
Implementations§
Source§impl RealmAvailableVideoChatProvider
impl RealmAvailableVideoChatProvider
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new RealmAvailableVideoChatProvider.
Source§impl RealmAvailableVideoChatProvider
impl RealmAvailableVideoChatProvider
Sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Gets the RealmAvailableVideoChatProvider name.
The name of the video call provider.
Sourcepub fn set_name<'a, C: Into<Cow<'a, str>>>(&mut self, val: C)
pub fn set_name<'a, C: Into<Cow<'a, str>>>(&mut self, val: C)
Sets the RealmAvailableVideoChatProvider name.
The name of the video call provider.
Sourcepub fn unset_name(&mut self) -> Option<String>
pub fn unset_name(&mut self) -> Option<String>
Unsets the RealmAvailableVideoChatProvider name.
The name of the video call provider.
Source§impl RealmAvailableVideoChatProvider
impl RealmAvailableVideoChatProvider
Sourcepub const fn id(&self) -> Option<u64>
pub const fn id(&self) -> Option<u64>
Gets the RealmAvailableVideoChatProvider id.
The ID of the video call provider.
Sourcepub fn set_id(&mut self, val: u64)
pub fn set_id(&mut self, val: u64)
Sets the RealmAvailableVideoChatProvider id.
The ID of the video call provider.
Sourcepub fn unset_id(&mut self) -> Option<u64>
pub fn unset_id(&mut self) -> Option<u64>
Unsets the RealmAvailableVideoChatProvider id.
The ID of the video call provider.
Sourcepub fn with_id(self, val: u64) -> Self
pub fn with_id(self, val: u64) -> Self
Builder function that sets the RealmAvailableVideoChatProvider id.
The ID of the video call provider.