pub struct CreateCall {
pub user_id: i32,
pub protocol: CallProtocol,
}
Expand description
Creates a new call
Fields§
§user_id: i32
Identifier of the user to be called
protocol: CallProtocol
Description of the call protocols supported by the client
Trait Implementations§
Source§impl Clone for CreateCall
impl Clone for CreateCall
Source§fn clone(&self) -> CreateCall
fn clone(&self) -> CreateCall
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 CreateCall
impl Debug for CreateCall
Source§impl<'de> Deserialize<'de> for CreateCall
impl<'de> Deserialize<'de> for CreateCall
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 Method for CreateCall
impl Method for CreateCall
Auto Trait Implementations§
impl Freeze for CreateCall
impl RefUnwindSafe for CreateCall
impl Send for CreateCall
impl Sync for CreateCall
impl Unpin for CreateCall
impl UnwindSafe for CreateCall
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