pub struct SchemaServer {
pub producer: String,
pub origin: String,
pub hash: Asked<String>,
}Expand description
One producer’s identity claim for a type name, attributed to the host that made it (#398).
Fields§
§producer: String§origin: StringThe origin that served this claim — the h-… host id, or a verbatim
service origin (#398).
describe fans in across every host running the producer, so the
producer alone does not name a claimant. Without this a mid-rollout
fleet reported that a type had two identities and gave no host to go
and look at — the finding you can do least with. "?" when the reply
key did not parse under the base, the same lossy-but-stated convention
FleetAnswer::origin uses.
hash: Asked<String>The sha256: identity this producer served, if it served one.
NotAsked means the describe reply carried no hash — which is not
an empty hash, and is the distinction the flat (String, String) shape
could not make: two producers that each said nothing compared equal and
were reported as agreeing (#370).
Trait Implementations§
Source§impl Clone for SchemaServer
impl Clone for SchemaServer
Source§fn clone(&self) -> SchemaServer
fn clone(&self) -> SchemaServer
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SchemaServer
impl Debug for SchemaServer
impl Eq for SchemaServer
Source§impl PartialEq for SchemaServer
impl PartialEq for SchemaServer
Source§impl Serialize for SchemaServer
impl Serialize for SchemaServer
impl StructuralPartialEq for SchemaServer
Auto Trait Implementations§
impl Freeze for SchemaServer
impl RefUnwindSafe for SchemaServer
impl Send for SchemaServer
impl Sync for SchemaServer
impl Unpin for SchemaServer
impl UnsafeUnpin for SchemaServer
impl UnwindSafe for SchemaServer
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more