pub struct A7pExport {
pub bytes: Vec<u8>,
pub not_carried: Vec<NotCarried>,
pub warnings: Vec<String>,
}Expand description
A .a7p file plus everything the caller has to be told about it.
Fields§
§bytes: Vec<u8>The complete .a7p file: MD5 hex envelope followed by the proto3 payload.
not_carried: Vec<NotCarried>Every ProfileData field .a7p cannot carry — see the module doc.
warnings: Vec<String>Losses and approximations INSIDE the fields that were carried: values
rounded onto the format’s fixed-point grid, destination fields left at
their format default because ProfileData has no equivalent, and
disagreements the encoder had to resolve.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for A7pExport
impl RefUnwindSafe for A7pExport
impl Send for A7pExport
impl Sync for A7pExport
impl Unpin for A7pExport
impl UnsafeUnpin for A7pExport
impl UnwindSafe for A7pExport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.