pub struct FetchPlan {
pub refusal: Option<String>,
pub dids: Vec<String>,
pub status_lists: Vec<String>,
pub truncated: bool,
}Expand description
What a host fetches before decide, and whether it needs to.
Fields§
§refusal: Option<String>The verdict, when the checks that need nothing fetched already refuse
the credential (or, for FetchPhase::StatusLists, when the
signatures or the chain refuse it). The host fetches nothing and
gives this refusal.
dids: Vec<String>DIDs whose DID document (did:web) or log (did:webvh) to fetch.
status_lists: Vec<String>Status list URLs to fetch.
truncated: boolTrue when more were needed than the plan names (see
MAX_FETCH_DIDS, MAX_FETCH_STATUS_LISTS); what is left out is
simply not there, as a failed fetch.
Trait Implementations§
impl Eq for FetchPlan
impl StructuralPartialEq for FetchPlan
Auto Trait Implementations§
impl Forget for FetchPlan
impl Freeze for FetchPlan
impl Move for FetchPlan
impl RefUnwindSafe for FetchPlan
impl Send for FetchPlanwhere
RawVecInner: Send,
impl Sync for FetchPlanwhere
RawVecInner: Sync,
impl Unpin for FetchPlan
impl UnsafeUnpin for FetchPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for FetchPlanwhere
RawVecInner: UnwindSafe,
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
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§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.