pub struct ServiceWorkerVerifyMessage {
pub service: Pubkey,
pub service_worker: Pubkey,
pub enclave_size: u64,
pub cpu: u64,
}
Expand description
This message is passed by the ServiceWorker to the service to verify the service is permitted to run.
Fields§
§service: Pubkey
§service_worker: Pubkey
§enclave_size: u64
§cpu: u64
Implementations§
Trait Implementations§
source§impl Clone for ServiceWorkerVerifyMessage
impl Clone for ServiceWorkerVerifyMessage
source§fn clone(&self) -> ServiceWorkerVerifyMessage
fn clone(&self) -> ServiceWorkerVerifyMessage
Returns a copy of the value. Read more
1.0.0 · 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 ServiceWorkerVerifyMessage
impl Debug for ServiceWorkerVerifyMessage
source§impl Default for ServiceWorkerVerifyMessage
impl Default for ServiceWorkerVerifyMessage
source§fn default() -> ServiceWorkerVerifyMessage
fn default() -> ServiceWorkerVerifyMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceWorkerVerifyMessage
impl<'de> Deserialize<'de> for ServiceWorkerVerifyMessage
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
Auto Trait Implementations§
impl RefUnwindSafe for ServiceWorkerVerifyMessage
impl Send for ServiceWorkerVerifyMessage
impl Sync for ServiceWorkerVerifyMessage
impl Unpin for ServiceWorkerVerifyMessage
impl UnwindSafe for ServiceWorkerVerifyMessage
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Mutably borrows from an owned value. Read more