pub struct InputMessageReadMetric {
pub msg_id: i32,
pub view_id: i64,
pub time_in_view_ms: i32,
pub active_time_in_view_ms: i32,
pub height_to_viewport_ratio_permille: i32,
pub seen_range_ratio_permille: i32,
}Expand description
Generated from:
inputMessageReadMetric#402b4495 msg_id:int view_id:long time_in_view_ms:int active_time_in_view_ms:int height_to_viewport_ratio_permille:int seen_range_ratio_permille:int = InputMessageReadMetricFields§
§msg_id: i32§view_id: i64§time_in_view_ms: i32§active_time_in_view_ms: i32§height_to_viewport_ratio_permille: i32§seen_range_ratio_permille: i32Trait Implementations§
Source§impl Clone for InputMessageReadMetric
impl Clone for InputMessageReadMetric
Source§fn clone(&self) -> InputMessageReadMetric
fn clone(&self) -> InputMessageReadMetric
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 InputMessageReadMetric
impl Debug for InputMessageReadMetric
Source§impl Deserializable for InputMessageReadMetric
impl Deserializable for InputMessageReadMetric
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputMessageReadMetric> for InputMessageReadMetric
impl From<InputMessageReadMetric> for InputMessageReadMetric
Source§fn from(x: InputMessageReadMetric) -> Self
fn from(x: InputMessageReadMetric) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMessageReadMetric
impl Identifiable for InputMessageReadMetric
Source§const CONSTRUCTOR_ID: u32 = 0x402b4495
const CONSTRUCTOR_ID: u32 = 0x402b4495
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMessageReadMetric
impl PartialEq for InputMessageReadMetric
Source§impl TryFrom<InputMessageReadMetric> for InputMessageReadMetric
impl TryFrom<InputMessageReadMetric> for InputMessageReadMetric
Source§type Error = InputMessageReadMetric
type Error = InputMessageReadMetric
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMessageReadMetric
Auto Trait Implementations§
impl Freeze for InputMessageReadMetric
impl RefUnwindSafe for InputMessageReadMetric
impl Send for InputMessageReadMetric
impl Sync for InputMessageReadMetric
impl Unpin for InputMessageReadMetric
impl UnsafeUnpin for InputMessageReadMetric
impl UnwindSafe for InputMessageReadMetric
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