pub enum PlatformVerifier {
X,
GitHub,
Google,
}Expand description
One of the three launch Platform Verifiers.
Variants§
X
x/v1: XPlatformVerifier, a TLSNotary profile.
GitHub
github/v1: GitHubPlatformVerifier, a TLSNotary profile.
google/v1: GooglePlatformVerifier, a signed-token profile that
notarizes nothing.
Implementations§
Source§impl PlatformVerifier
impl PlatformVerifier
Sourcepub const fn contract(self) -> &'static str
pub const fn contract(self) -> &'static str
The contract, which is also its .sol file and its entry in
COVERED.
Sourcepub const fn platform(self) -> &'static str
pub const fn platform(self) -> &'static str
The platform’s bare name, as CeremonyProfile spells it. libID
namespaces only its own strings.
Sourcepub fn platform_id(self) -> B256
pub fn platform_id(self) -> B256
What the deployed contract answers to platformId(): keccak256
of the bare name.
Trait Implementations§
Source§impl Clone for PlatformVerifier
impl Clone for PlatformVerifier
impl Copy for PlatformVerifier
Source§impl Debug for PlatformVerifier
impl Debug for PlatformVerifier
impl Eq for PlatformVerifier
Source§impl Hash for PlatformVerifier
impl Hash for PlatformVerifier
Source§impl PartialEq for PlatformVerifier
impl PartialEq for PlatformVerifier
impl StructuralPartialEq for PlatformVerifier
Auto Trait Implementations§
impl Freeze for PlatformVerifier
impl RefUnwindSafe for PlatformVerifier
impl Send for PlatformVerifier
impl Sync for PlatformVerifier
impl Unpin for PlatformVerifier
impl UnsafeUnpin for PlatformVerifier
impl UnwindSafe for PlatformVerifier
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§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.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> ⓘ
Converts
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> ⓘ
Converts
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