pub trait Discriminator {
    const DISCRIMINATOR: [u8; 8];

    // Provided method
    fn discriminator() -> [u8; 8] { ... }
}
Expand description

8 byte unique identifier for a type.

Required Associated Constants§

const DISCRIMINATOR: [u8; 8]

Provided Methods§

fn discriminator() -> [u8; 8]

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Discriminator for AttestationPermissionAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationQueueAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationProgramState

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionServiceAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceWorkerAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for SwitchboardWallet

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionBootedEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionFundEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestCloseEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestTriggerEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestVerifyErrorEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestVerifyEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineVerifyErrorEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineVerifyEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionServiceInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionServiceVerifyErrorEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionServiceVerifyEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionSetConfigEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionTriggerEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionVerifyEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionWithdrawEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for GarbageCollectionEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for PermissionInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for PermissionSetEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for QueueAddMrEnclaveEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for QueueInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for QueueRemoveMrEnclaveEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceRequestQuoteVerifyEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceWorkerAddServiceEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceWorkerAddServiceRequestEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceWorkerInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceWorkerRemoveServiceEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceWorkerUpdatedEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierHeartbeatEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierInitEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteOverrideEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteRotateEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteVerifyEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteVerifyRequestEvent

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationPermissionInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationPermissionInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationPermissionSet<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationPermissionSetParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationQueueAddMrEnclave<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationQueueAddMrEnclaveParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationQueueInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AttestationQueueInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionClose<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionCloseParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionSetConfig<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionSetConfigParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionSetEscrow<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionSetEscrowParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionTrigger<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionTriggerParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionVerify<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestClose<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestCloseParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestInitAndTrigger<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestInitAndTriggerParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestSetConfig<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestSetConfigParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestTrigger<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestTriggerParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestVerify<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRequestVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineVerify<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionRoutineVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceRequestQuoteVerify<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for ServiceRequestQuoteVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionServiceVerify<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for FunctionServiceVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierHeartbeat<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierHeartbeatParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteRotate<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteRotateParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteVerify<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VerifierQuoteVerifyParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for WalletFund<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for WalletFundParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for WalletInit<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for WalletInitParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for WalletWithdraw<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for WalletWithdrawParams

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AggregatorAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for BufferRelayerAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for CrankAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for JobAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for LeaseAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for OracleAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for PermissionAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for OracleQueueAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for SbState

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for SlidingResultAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfLiteAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfPoolAccountData

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for AggregatorSaveResult

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for OracleHeartbeat

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for PermissionSet<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfClose<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfLiteClose<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfLiteRequestRandomness<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfPoolRemove<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfPoolRequestRandomness<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfRequestRandomness<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl Discriminator for VrfSetCallback<'_>

source§

const DISCRIMINATOR: [u8; 8] = _

source§

impl<'a> Discriminator for AggregatorHistoryBuffer<'a>

source§

const DISCRIMINATOR: [u8; 8] = _