pub struct Create {
pub descriptor: SignedJson,
pub delegation: SignedJson,
pub member_public_key: PublicKey,
pub registration: SignedJson,
pub profile: NewProfile,
}Expand description
community.create (§8.1). The envelope’s community_id names the target.
Fields§
§descriptor: SignedJsonSigned CommunityDescriptor, revision 1.
delegation: SignedJsonSigned HostDelegation naming this host.
member_public_key: PublicKeyThe creator’s member key; MUST equal the descriptor’s owner_member_key.
registration: SignedJsonSigned MemberKeyRegistration, purpose 1.
profile: NewProfileThe creator’s display profile.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Create
impl<'de> Deserialize<'de> for Create
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 Create
impl StructuralPartialEq for Create
Auto Trait Implementations§
impl Freeze for Create
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnsafeUnpin for Create
impl UnwindSafe for Create
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