Struct rust_tdlib::types::CallStateReady
source · pub struct CallStateReady { /* private fields */ }
Expand description
The call is ready to use
Implementations§
source§impl CallStateReady
impl CallStateReady
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> CallStateReadyBuilder
pub fn protocol(&self) -> &CallProtocol
pub fn servers(&self) -> &Vec<CallServer>
pub fn config(&self) -> &String
pub fn encryption_key(&self) -> &String
pub fn emojis(&self) -> &Vec<String>
pub fn allow_p2p(&self) -> bool
Trait Implementations§
source§impl AsRef<CallStateReady> for CallStateReady
impl AsRef<CallStateReady> for CallStateReady
source§fn as_ref(&self) -> &CallStateReady
fn as_ref(&self) -> &CallStateReady
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for CallStateReady
impl Clone for CallStateReady
source§fn clone(&self) -> CallStateReady
fn clone(&self) -> CallStateReady
Returns a copy 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 Debug for CallStateReady
impl Debug for CallStateReady
source§impl Default for CallStateReady
impl Default for CallStateReady
source§fn default() -> CallStateReady
fn default() -> CallStateReady
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CallStateReady
impl<'de> Deserialize<'de> for CallStateReady
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