#[non_exhaustive]pub enum SignatureRequestor {
WebApp(ContractInstanceId),
Delegate(DelegateKey),
}Expand description
Who requested a ghostkey operation. Runtime-attested, can’t be spoofed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WebApp(ContractInstanceId)
A web application (UI) backed by this contract.
Delegate(DelegateKey)
Another delegate on the same node.
Trait Implementations§
Source§impl Clone for SignatureRequestor
impl Clone for SignatureRequestor
Source§fn clone(&self) -> SignatureRequestor
fn clone(&self) -> SignatureRequestor
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 SignatureRequestor
impl Debug for SignatureRequestor
Source§impl<'de> Deserialize<'de> for SignatureRequestor
impl<'de> Deserialize<'de> for SignatureRequestor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignatureRequestor
Source§impl PartialEq for SignatureRequestor
impl PartialEq for SignatureRequestor
Source§impl Serialize for SignatureRequestor
impl Serialize for SignatureRequestor
impl StructuralPartialEq for SignatureRequestor
Auto Trait Implementations§
impl Freeze for SignatureRequestor
impl RefUnwindSafe for SignatureRequestor
impl Send for SignatureRequestor
impl Sync for SignatureRequestor
impl Unpin for SignatureRequestor
impl UnsafeUnpin for SignatureRequestor
impl UnwindSafe for SignatureRequestor
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