pub struct OwnerPromotionRequestBody {
pub promotion_id: OwnerPromotionId,
pub store_root_hash: ObjectHash,
pub promoter_registration: StoreDeviceRegistrationRef,
pub promoter_owner_grant: MembershipGrantId,
pub member_pubkey: String,
pub member_grant: MembershipGrantId,
pub member_registration: StoreDeviceRegistrationRef,
pub intended_owner_grant: MembershipGrantId,
pub predecessor_membership: StoreMembershipStateRef,
pub predecessor_devices: StoreDeviceStateRef,
pub finalization: OwnerPromotionFinalization,
}Expand description
The wire body of an owner-promotion request. Every field here is signed.
Fields§
§promotion_id: OwnerPromotionId§store_root_hash: ObjectHash§promoter_registration: StoreDeviceRegistrationRef§promoter_owner_grant: MembershipGrantId§member_pubkey: String§member_grant: MembershipGrantId§member_registration: StoreDeviceRegistrationRef§intended_owner_grant: MembershipGrantId§predecessor_membership: StoreMembershipStateRef§predecessor_devices: StoreDeviceStateRef§finalization: OwnerPromotionFinalizationTrait Implementations§
Source§impl Clone for OwnerPromotionRequestBody
impl Clone for OwnerPromotionRequestBody
Source§fn clone(&self) -> OwnerPromotionRequestBody
fn clone(&self) -> OwnerPromotionRequestBody
Returns a duplicate 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 OwnerPromotionRequestBody
impl Debug for OwnerPromotionRequestBody
Source§impl<'de> Deserialize<'de> for OwnerPromotionRequestBody
impl<'de> Deserialize<'de> for OwnerPromotionRequestBody
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 OwnerPromotionRequestBody
impl StructuralPartialEq for OwnerPromotionRequestBody
Auto Trait Implementations§
impl Freeze for OwnerPromotionRequestBody
impl RefUnwindSafe for OwnerPromotionRequestBody
impl Send for OwnerPromotionRequestBody
impl Sync for OwnerPromotionRequestBody
impl Unpin for OwnerPromotionRequestBody
impl UnsafeUnpin for OwnerPromotionRequestBody
impl UnwindSafe for OwnerPromotionRequestBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.