pub struct LiteralPacket {
pub filename: String,
pub timestamp: Duration,
pub contents: LiteralData,
}Expand description
A Literal data packet as specified in RFC4880 §5.9.
Fields§
§filename: String§timestamp: Duration§contents: LiteralDataImplementations§
Source§impl LiteralPacket
impl LiteralPacket
Trait Implementations§
Source§impl Clone for LiteralPacket
impl Clone for LiteralPacket
Source§fn clone(&self) -> LiteralPacket
fn clone(&self) -> LiteralPacket
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 moreAuto Trait Implementations§
impl Freeze for LiteralPacket
impl RefUnwindSafe for LiteralPacket
impl Send for LiteralPacket
impl Sync for LiteralPacket
impl Unpin for LiteralPacket
impl UnwindSafe for LiteralPacket
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