pub struct DefaultHistoryTtl {
pub period: i32,
}Expand description
Fields§
§period: i32Trait Implementations§
Source§impl Clone for DefaultHistoryTtl
impl Clone for DefaultHistoryTtl
Source§fn clone(&self) -> DefaultHistoryTtl
fn clone(&self) -> DefaultHistoryTtl
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 DefaultHistoryTtl
impl Debug for DefaultHistoryTtl
Source§impl Deserializable for DefaultHistoryTtl
impl Deserializable for DefaultHistoryTtl
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<DefaultHistoryTtl> for DefaultHistoryTtl
impl From<DefaultHistoryTtl> for DefaultHistoryTtl
Source§fn from(x: DefaultHistoryTtl) -> Self
fn from(x: DefaultHistoryTtl) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DefaultHistoryTtl
impl Identifiable for DefaultHistoryTtl
Source§const CONSTRUCTOR_ID: u32 = 0x43b46b20
const CONSTRUCTOR_ID: u32 = 0x43b46b20
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DefaultHistoryTtl
impl PartialEq for DefaultHistoryTtl
Source§impl Serializable for DefaultHistoryTtl
impl Serializable for DefaultHistoryTtl
Source§impl TryFrom<DefaultHistoryTtl> for DefaultHistoryTtl
impl TryFrom<DefaultHistoryTtl> for DefaultHistoryTtl
Source§type Error = DefaultHistoryTtl
type Error = DefaultHistoryTtl
The type returned in the event of a conversion error.
impl StructuralPartialEq for DefaultHistoryTtl
Auto Trait Implementations§
impl Freeze for DefaultHistoryTtl
impl RefUnwindSafe for DefaultHistoryTtl
impl Send for DefaultHistoryTtl
impl Sync for DefaultHistoryTtl
impl Unpin for DefaultHistoryTtl
impl UnsafeUnpin for DefaultHistoryTtl
impl UnwindSafe for DefaultHistoryTtl
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