pub struct FetchedName {
pub name: String,
pub fn_hash: String,
pub subjects: Vec<SubjectKeys>,
pub descriptor: Vec<u8>,
pub label: String,
pub description: String,
}Expand description
One verified name of a listed host.
Fields§
§name: StringThe full name, under <host>/.
fn_hash: StringIts function hash, as describe gives it.
subjects: Vec<SubjectKeys>The subjects the host’s catalogue puts it in, ascending and unique.
descriptor: Vec<u8>The descriptor’s bytes from /descriptor/<fn_hash>.
label: StringIts label in the host’s catalogue (from the host’s function page as JSON, /fn/<name>?format=json; may be empty).
description: StringIts description (from the same page).
Trait Implementations§
Source§impl Clone for FetchedName
impl Clone for FetchedName
Source§impl Debug for FetchedName
impl Debug for FetchedName
impl Eq for FetchedName
Source§impl PartialEq for FetchedName
impl PartialEq for FetchedName
impl StructuralPartialEq for FetchedName
Auto Trait Implementations§
impl Forget for FetchedName
impl Freeze for FetchedName
impl Move for FetchedName
impl RefUnwindSafe for FetchedName
impl Send for FetchedNamewhere
RawVecInner: Send,
impl Sync for FetchedNamewhere
RawVecInner: Sync,
impl Unpin for FetchedName
impl UnsafeUnpin for FetchedNamewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SubjectKeys>: UnsafeUnpin,
impl UnwindSafe for FetchedNamewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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§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.