pub struct PolicyInputOptions {
pub reference_mode: ReferenceMode,
pub fetch_policy: FetchPolicy,
pub load_budget: LoadBudget,
}Expand description
Input-loading policy for schema documents that must be prepared before final output transforms run.
Fields§
§reference_mode: ReferenceModeReference policy that determines which documents must be loaded.
fetch_policy: FetchPolicyWhether required remote documents may be fetched.
load_budget: LoadBudgetByte and entry limits applied while loading documents.
Trait Implementations§
Source§impl Clone for PolicyInputOptions
impl Clone for PolicyInputOptions
Source§fn clone(&self) -> PolicyInputOptions
fn clone(&self) -> PolicyInputOptions
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 moreimpl Copy for PolicyInputOptions
Auto Trait Implementations§
impl Freeze for PolicyInputOptions
impl RefUnwindSafe for PolicyInputOptions
impl Send for PolicyInputOptions
impl Sync for PolicyInputOptions
impl Unpin for PolicyInputOptions
impl UnsafeUnpin for PolicyInputOptions
impl UnwindSafe for PolicyInputOptions
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