pub struct PdfSourcePlan {
pub key: String,
pub candidate_hosts: Vec<String>,
}Expand description
Per-PDF-source row inside FetchPlan::pdf_sources.
candidate_hosts is the static allowlist for the named resolver, not
a prediction of the single host the real fetch would touch — see
module docs and ADR-0022 §4 (“Honesty about candidate
uncertainty”).
Fields§
§key: StringResolver source key (e.g. "oa-publisher", "arxiv").
candidate_hosts: Vec<String>Allowlist hosts the real fetch would be permitted to touch.
Trait Implementations§
Source§impl Clone for PdfSourcePlan
impl Clone for PdfSourcePlan
Source§fn clone(&self) -> PdfSourcePlan
fn clone(&self) -> PdfSourcePlan
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 PdfSourcePlan
impl Debug for PdfSourcePlan
Source§impl Serialize for PdfSourcePlan
impl Serialize for PdfSourcePlan
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PdfSourcePlan
impl RefUnwindSafe for PdfSourcePlan
impl Send for PdfSourcePlan
impl Sync for PdfSourcePlan
impl Unpin for PdfSourcePlan
impl UnsafeUnpin for PdfSourcePlan
impl UnwindSafe for PdfSourcePlan
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