pub struct ParseConfig {
pub pages: PageSelection,
pub limits: Limits,
}Expand description
Effective parse configuration.
Fields§
§pages: PageSelectionPage selection.
limits: LimitsResource limits.
Implementations§
Source§impl ParseConfig
impl ParseConfig
Sourcepub fn config_hash_subset(&self) -> Value
pub fn config_hash_subset(&self) -> Value
The config-hash subset (contract §7): exactly the profile’s config_hash_inputs
(v1: pages), as a canonical JSON object.
Sourcepub fn config_sha256(&self) -> Result<String, EthosError>
pub fn config_sha256(&self) -> Result<String, EthosError>
config_sha256 over c14n of the hash subset.
Trait Implementations§
Source§impl Clone for ParseConfig
impl Clone for ParseConfig
Source§fn clone(&self) -> ParseConfig
fn clone(&self) -> ParseConfig
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 ParseConfig
impl Debug for ParseConfig
Source§impl Default for ParseConfig
impl Default for ParseConfig
Source§fn default() -> ParseConfig
fn default() -> ParseConfig
Returns the “default value” for a type. Read more
impl Eq for ParseConfig
Source§impl PartialEq for ParseConfig
impl PartialEq for ParseConfig
Source§fn eq(&self, other: &ParseConfig) -> bool
fn eq(&self, other: &ParseConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseConfig
Auto Trait Implementations§
impl Freeze for ParseConfig
impl RefUnwindSafe for ParseConfig
impl Send for ParseConfig
impl Sync for ParseConfig
impl Unpin for ParseConfig
impl UnsafeUnpin for ParseConfig
impl UnwindSafe for ParseConfig
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