pub struct HttpWait {
pub max_delay: i32,
pub wait_after: i32,
pub max_wait: i32,
}Expand description
Fields§
§max_delay: i32§wait_after: i32§max_wait: i32Trait Implementations§
Source§impl Deserializable for HttpWait
impl Deserializable for HttpWait
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 HttpWait
impl Identifiable for HttpWait
Source§const CONSTRUCTOR_ID: u32 = 0x9299359f
const CONSTRUCTOR_ID: u32 = 0x9299359f
The constructor ID as specified in the TL schema.
Source§impl Serializable for HttpWait
impl Serializable for HttpWait
impl StructuralPartialEq for HttpWait
Auto Trait Implementations§
impl Freeze for HttpWait
impl RefUnwindSafe for HttpWait
impl Send for HttpWait
impl Sync for HttpWait
impl Unpin for HttpWait
impl UnsafeUnpin for HttpWait
impl UnwindSafe for HttpWait
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