pub struct Block<'a> {
pub block_type: &'a str,
pub headers: Vec<HeaderEntry<'a>>,
pub data: Vec<u8>,
}
Expand description
structure representing one PEM block
Fields§
§block_type: &'a str
§headers: Vec<HeaderEntry<'a>>
§data: Vec<u8>
Trait Implementations§
impl<'a> StructuralPartialEq for Block<'a>
Auto Trait Implementations§
impl<'a> Freeze for Block<'a>
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnwindSafe for Block<'a>
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