pub struct SoftBindingResolverOptions {
pub allowed_origins: Vec<String>,
pub allow_private_networks: bool,
pub max_results: u16,
pub fetch_status: bool,
pub fetch_receipts: bool,
}Expand description
Network and optional read-only evidence policy for soft-binding recovery.
Fields§
§allowed_origins: Vec<String>Exact allowed origins (scheme://host[:port]).
allow_private_networks: boolPermit private/link-local destinations and plaintext HTTP for an explicitly trusted intranet deployment.
max_results: u16Maximum matches requested, from 1 through 100. Zero uses 10.
fetch_status: boolFetch the service status document when discovery advertises one.
fetch_receipts: boolFetch each recovered manifest’s repository-reported receipt result.
Trait Implementations§
Source§impl Clone for SoftBindingResolverOptions
impl Clone for SoftBindingResolverOptions
Source§impl Debug for SoftBindingResolverOptions
impl Debug for SoftBindingResolverOptions
Source§impl Default for SoftBindingResolverOptions
impl Default for SoftBindingResolverOptions
Source§impl<'de> Deserialize<'de> for SoftBindingResolverOptionswhere
SoftBindingResolverOptions: Default,
impl<'de> Deserialize<'de> for SoftBindingResolverOptionswhere
SoftBindingResolverOptions: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SoftBindingResolverOptions
impl RefUnwindSafe for SoftBindingResolverOptions
impl Send for SoftBindingResolverOptions
impl Sync for SoftBindingResolverOptions
impl Unpin for SoftBindingResolverOptions
impl UnsafeUnpin for SoftBindingResolverOptions
impl UnwindSafe for SoftBindingResolverOptions
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