Skip to main content

StoreDeviceExclusionProposal

Type Alias StoreDeviceExclusionProposal 

Source
pub type StoreDeviceExclusionProposal = Signed<StoreDeviceExclusionProposalBody>;

Aliased Type§

pub struct StoreDeviceExclusionProposal { /* private fields */ }

Implementations§

Source§

impl StoreDeviceExclusionProposal

Source

pub fn signed( store_root_hash: ObjectHash, proposal_id: StoreDeviceExclusionProposalId, target: StoreDeviceRegistrationRef, target_registration: &StoreDeviceRegistration, frozen_device_state: StoreDeviceStateRef, outcome_slot: ObjectSlot, owner_registration: StoreDeviceRegistrationRef, owner_grant: MembershipGrantId, owner: &StoreDeviceRegistration, owner_device_signer: &UserKeypair, ) -> Result<Self, StoreProtocolError>

Source

pub fn proposal_hash(&self) -> ObjectHash

Source

pub fn parse_at( bytes: &[u8], expected: &StoreDeviceExclusionProposalRef, target: &StoreDeviceRegistration, owner: &StoreDeviceRegistration, ) -> Result<Self, StoreProtocolError>