Struct nom_pem::Block
[−]
[src]
pub struct Block<'a> { pub block_type: &'a str, pub headers: Vec<HeaderEntry<'a>>, pub data: Vec<u8>, }
structure representing one PEM block
Fields
block_type: &'a str
headers: Vec<HeaderEntry<'a>>
data: Vec<u8>
Trait Implementations
impl<'a> Debug for Block<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for Block<'a>
[src]
fn eq(&self, __arg_0: &Block<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Block<'a>) -> bool
[src]
This method tests for !=
.