pub struct SendCallRating {
pub call_id: i32,
pub rating: i32,
pub comment: String,
}
Expand description
Sends a call rating
Fields§
§call_id: i32
Call identifier
rating: i32
Call rating; 1-5
comment: String
An optional user comment if the rating is less than 5
Trait Implementations§
Source§impl Clone for SendCallRating
impl Clone for SendCallRating
Source§fn clone(&self) -> SendCallRating
fn clone(&self) -> SendCallRating
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 SendCallRating
impl Debug for SendCallRating
Source§impl<'de> Deserialize<'de> for SendCallRating
impl<'de> Deserialize<'de> for SendCallRating
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 SendCallRating
impl Method for SendCallRating
Auto Trait Implementations§
impl Freeze for SendCallRating
impl RefUnwindSafe for SendCallRating
impl Send for SendCallRating
impl Sync for SendCallRating
impl Unpin for SendCallRating
impl UnwindSafe for SendCallRating
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