pub struct CallStateReady {
pub protocol: CallProtocol,
pub servers: Vec<CallServer>,
pub config: String,
pub encryption_key: String,
pub emojis: Vec<String>,
pub allow_p2p: bool,
pub custom_parameters: String,
}
Expand description
The call is ready to use
Fields§
§protocol: CallProtocol
Call protocols supported by the other call participant
servers: Vec<CallServer>
List of available call servers
config: String
A JSON-encoded call config
encryption_key: String
Call encryption key
emojis: Vec<String>
Encryption key emojis fingerprint
allow_p2p: bool
True, if peer-to-peer connection is allowed by users privacy settings
custom_parameters: String
Custom JSON-encoded call parameters to be passed to tgcalls
Trait Implementations§
Source§impl Clone for CallStateReady
impl Clone for CallStateReady
Source§fn clone(&self) -> CallStateReady
fn clone(&self) -> CallStateReady
Returns a duplicate 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 PartialEq for CallStateReady
impl PartialEq for CallStateReady
Source§impl Serialize for CallStateReady
impl Serialize for CallStateReady
impl StructuralPartialEq 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