pub struct TicketList {
pub v: u8,
pub tickets: Vec<Ticket>,
pub revoked: Vec<String>,
}Expand description
The rumor content carrying a device’s tickets to one contact.
Fields§
§v: u8§tickets: Vec<Ticket>§revoked: Vec<String>Ticket ids the contact must forget: the device turned notifications off.
Trait Implementations§
Source§impl Clone for TicketList
impl Clone for TicketList
Source§impl Debug for TicketList
impl Debug for TicketList
Source§impl Default for TicketList
impl Default for TicketList
Source§impl<'de> Deserialize<'de> for TicketList
impl<'de> Deserialize<'de> for TicketList
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for TicketList
impl Freeze for TicketList
impl Move for TicketList
impl RefUnwindSafe for TicketList
impl Send for TicketList
impl Sync for TicketList
impl Unpin for TicketList
impl UnsafeUnpin for TicketList
impl UnwindSafe for TicketList
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