pub struct SidecarHashes {
pub sha256: bool,
pub sha512: bool,
pub sha3_512: bool,
}Expand description
Selection of hash sidecar families to emit.
An options object keeps the writer functions within the parameter
budget (CLAUDE.md Pattern 3) and carries the choice from the
Settings toggles to the writer as one value.
Fields§
§sha256: boolEmit the SHA-256 (.sha-256) sidecar.
sha512: boolEmit the SHA-512 (.sha-512) sidecar.
sha3_512: boolEmit the SHA3-512 (.sha3-512) sidecar.
Implementations§
Source§impl SidecarHashes
impl SidecarHashes
Sourcepub const fn from_settings(settings: &Settings) -> Self
pub const fn from_settings(settings: &Settings) -> Self
Build the selection from the matching Settings toggles.
Trait Implementations§
Source§impl Clone for SidecarHashes
impl Clone for SidecarHashes
Source§fn clone(&self) -> SidecarHashes
fn clone(&self) -> SidecarHashes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SidecarHashes
impl Debug for SidecarHashes
impl Copy for SidecarHashes
Auto Trait Implementations§
impl Freeze for SidecarHashes
impl RefUnwindSafe for SidecarHashes
impl Send for SidecarHashes
impl Sync for SidecarHashes
impl Unpin for SidecarHashes
impl UnsafeUnpin for SidecarHashes
impl UnwindSafe for SidecarHashes
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