Struct libreda_oasis::OASISWriterConfig
source · pub struct OASISWriterConfig {
pub explicit_ids: bool,
pub validation_scheme: OASISValidationScheme,
/* private fields */
}Expand description
Configuration for the output stream format.
Fields§
§explicit_ids: boolTells if IDs are given implicitly by a counter or are explicitly written in the file.
validation_scheme: OASISValidationSchemeType of integrity checksum used while writing the OASIS stream. Default is None (0).
Trait Implementations§
source§impl Clone for OASISWriterConfig
impl Clone for OASISWriterConfig
source§fn clone(&self) -> OASISWriterConfig
fn clone(&self) -> OASISWriterConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OASISWriterConfig
impl Debug for OASISWriterConfig
source§impl Default for OASISWriterConfig
impl Default for OASISWriterConfig
source§fn default() -> OASISWriterConfig
fn default() -> OASISWriterConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OASISWriterConfig
impl RefUnwindSafe for OASISWriterConfig
impl Send for OASISWriterConfig
impl Sync for OASISWriterConfig
impl Unpin for OASISWriterConfig
impl UnwindSafe for OASISWriterConfig
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more