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
Source§impl Serialize for CallStateReady
impl Serialize for CallStateReady
impl TDCallState for CallStateReady
Auto Trait Implementations§
impl Freeze for CallStateReady
impl RefUnwindSafe for CallStateReady
impl Send for CallStateReady
impl Sync for CallStateReady
impl Unpin for CallStateReady
impl UnwindSafe for CallStateReady
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