Struct rust_tdlib::types::CallStateReady
source · [−]pub struct CallStateReady { /* private fields */ }
Expand description
The call is ready to use
Implementations
sourceimpl 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
sourceimpl AsRef<CallStateReady> for CallStateReady
impl AsRef<CallStateReady> for CallStateReady
sourcefn as_ref(&self) -> &CallStateReady
fn as_ref(&self) -> &CallStateReady
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for CallStateReady
impl Clone for CallStateReady
sourcefn clone(&self) -> CallStateReady
fn clone(&self) -> CallStateReady
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CallStateReady
impl Debug for CallStateReady
sourceimpl Default for CallStateReady
impl Default for CallStateReady
sourcefn default() -> CallStateReady
fn default() -> CallStateReady
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CallStateReady
impl<'de> Deserialize<'de> for CallStateReady
sourcefn 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
sourceimpl Serialize for CallStateReady
impl Serialize for CallStateReady
impl TDCallState for CallStateReady
Auto Trait Implementations
impl RefUnwindSafe for CallStateReady
impl Send for CallStateReady
impl Sync for CallStateReady
impl Unpin for CallStateReady
impl UnwindSafe for CallStateReady
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more