pub struct CatalogPageWithEarliestExpiry {
pub page_name: String,
pub seconds_to_expiry: i32,
pub image: String,
}
Fields§
§page_name: String
§seconds_to_expiry: i32
§image: String
Trait Implementations§
Source§impl BaseParser for CatalogPageWithEarliestExpiry
impl BaseParser for CatalogPageWithEarliestExpiry
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl Clone for CatalogPageWithEarliestExpiry
impl Clone for CatalogPageWithEarliestExpiry
Source§fn clone(&self) -> CatalogPageWithEarliestExpiry
fn clone(&self) -> CatalogPageWithEarliestExpiry
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 Default for CatalogPageWithEarliestExpiry
impl Default for CatalogPageWithEarliestExpiry
Source§fn default() -> CatalogPageWithEarliestExpiry
fn default() -> CatalogPageWithEarliestExpiry
Returns the “default value” for a type. Read more
Source§impl PartialEq for CatalogPageWithEarliestExpiry
impl PartialEq for CatalogPageWithEarliestExpiry
Source§fn eq(&self, other: &CatalogPageWithEarliestExpiry) -> bool
fn eq(&self, other: &CatalogPageWithEarliestExpiry) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CatalogPageWithEarliestExpiry
Auto Trait Implementations§
impl Freeze for CatalogPageWithEarliestExpiry
impl RefUnwindSafe for CatalogPageWithEarliestExpiry
impl Send for CatalogPageWithEarliestExpiry
impl Sync for CatalogPageWithEarliestExpiry
impl Unpin for CatalogPageWithEarliestExpiry
impl UnwindSafe for CatalogPageWithEarliestExpiry
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