Struct baimax::data::File
[−]
[src]
pub struct File { pub sender: Party, pub receiver: Party, pub creation: BaiDateTime, pub ident: FileIdent, pub groups: Vec<Group>, }
Fields
sender: Party
receiver: Party
creation: BaiDateTime
ident: FileIdent
groups: Vec<Group>
Methods
impl File
[src]
fn process<'a>(file: &'a [u8]) -> Result<File, FileProcessError<'a>>
fn from_source<T: Read>(source: &mut T) -> Result<File, String>
Trait Implementations
impl Debug for File
[src]
impl Clone for File
[src]
fn clone(&self) -> File
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more