pub struct FetchPolicy { /* private fields */ }Expand description
Explicit policy for schema/document retrieval during input assembly.
This governs chart-authored and override-authored external references that
helm-schema may load while preparing a self-contained schema document.
Knowledge-provider fetching remains controlled separately by
crate::provider_builder::ProviderOptions.
Implementations§
Source§impl FetchPolicy
impl FetchPolicy
Sourcepub const fn new(allow_file: bool, allow_network: bool) -> Self
pub const fn new(allow_file: bool, allow_network: bool) -> Self
Creates an explicit local-file and network retrieval policy.
Sourcepub const fn input_assembly(allow_network: bool) -> Self
pub const fn input_assembly(allow_network: bool) -> Self
Policy for chart-local and override-local input assembly. Local files remain readable; network refs depend on the caller’s offline policy.
Trait Implementations§
Source§impl Clone for FetchPolicy
impl Clone for FetchPolicy
Source§fn clone(&self) -> FetchPolicy
fn clone(&self) -> FetchPolicy
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 FetchPolicy
Source§impl Debug for FetchPolicy
impl Debug for FetchPolicy
impl Eq for FetchPolicy
Source§impl PartialEq for FetchPolicy
impl PartialEq for FetchPolicy
impl StructuralPartialEq for FetchPolicy
Auto Trait Implementations§
impl Freeze for FetchPolicy
impl RefUnwindSafe for FetchPolicy
impl Send for FetchPolicy
impl Sync for FetchPolicy
impl Unpin for FetchPolicy
impl UnsafeUnpin for FetchPolicy
impl UnwindSafe for FetchPolicy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.