pub struct SmsJob {
pub job_id: String,
pub phone_number: String,
pub text: String,
}Expand description
Fields§
§job_id: String§phone_number: String§text: StringTrait Implementations§
Source§impl Deserializable for SmsJob
impl Deserializable for SmsJob
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 Identifiable for SmsJob
impl Identifiable for SmsJob
Source§const CONSTRUCTOR_ID: u32 = 0xe6a1eeb8
const CONSTRUCTOR_ID: u32 = 0xe6a1eeb8
The constructor ID as specified in the TL schema.
Source§impl Serializable for SmsJob
impl Serializable for SmsJob
impl StructuralPartialEq for SmsJob
Auto Trait Implementations§
impl Freeze for SmsJob
impl RefUnwindSafe for SmsJob
impl Send for SmsJob
impl Sync for SmsJob
impl Unpin for SmsJob
impl UnsafeUnpin for SmsJob
impl UnwindSafe for SmsJob
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