pub struct Stanza {
pub tag: String,
pub args: Vec<String>,
pub body: Vec<u8>,
}
Expand description
A section of the age header that encapsulates the file key as encrypted to a specific recipient.
This is the owned type; see AgeStanza
for the reference type.
Fields§
§tag: String
A tag identifying this stanza type.
args: Vec<String>
Zero or more arguments.
body: Vec<u8>
The body of the stanza, containing a wrapped FileKey
.
Trait Implementations§
source§impl PartialEq for Stanza
impl PartialEq for Stanza
impl Eq for Stanza
impl StructuralPartialEq for Stanza
Auto Trait Implementations§
impl RefUnwindSafe for Stanza
impl Send for Stanza
impl Sync for Stanza
impl Unpin for Stanza
impl UnwindSafe for Stanza
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