pub struct SendMessageUploadPhotoAction {
pub progress: i32,
}Expand description
Generated from:
sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageActionFields§
§progress: i32Trait Implementations§
Source§impl Clone for SendMessageUploadPhotoAction
impl Clone for SendMessageUploadPhotoAction
Source§fn clone(&self) -> SendMessageUploadPhotoAction
fn clone(&self) -> SendMessageUploadPhotoAction
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 SendMessageUploadPhotoAction
impl Debug for SendMessageUploadPhotoAction
Source§impl Deserializable for SendMessageUploadPhotoAction
impl Deserializable for SendMessageUploadPhotoAction
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<SendMessageUploadPhotoAction> for SendMessageAction
impl From<SendMessageUploadPhotoAction> for SendMessageAction
Source§fn from(x: SendMessageUploadPhotoAction) -> Self
fn from(x: SendMessageUploadPhotoAction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SendMessageUploadPhotoAction
impl Identifiable for SendMessageUploadPhotoAction
Source§const CONSTRUCTOR_ID: u32 = 0xd1d34a26
const CONSTRUCTOR_ID: u32 = 0xd1d34a26
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SendMessageUploadPhotoAction
impl PartialEq for SendMessageUploadPhotoAction
Source§fn eq(&self, other: &SendMessageUploadPhotoAction) -> bool
fn eq(&self, other: &SendMessageUploadPhotoAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<SendMessageAction> for SendMessageUploadPhotoAction
impl TryFrom<SendMessageAction> for SendMessageUploadPhotoAction
Source§type Error = SendMessageAction
type Error = SendMessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for SendMessageUploadPhotoAction
Auto Trait Implementations§
impl Freeze for SendMessageUploadPhotoAction
impl RefUnwindSafe for SendMessageUploadPhotoAction
impl Send for SendMessageUploadPhotoAction
impl Sync for SendMessageUploadPhotoAction
impl Unpin for SendMessageUploadPhotoAction
impl UnsafeUnpin for SendMessageUploadPhotoAction
impl UnwindSafe for SendMessageUploadPhotoAction
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