pub struct DescriptorPublish {
pub descriptor: SignedJson,
pub delegation: Option<SignedJson>,
pub icon: Option<Vec<u8>>,
}Expand description
community.descriptor.publish (§8.1). Owner only; larger envelope limit (§12).
Fields§
§descriptor: SignedJsonThe new signed descriptor (revision > current).
delegation: Option<SignedJson>The new signed delegation; omitted (or null) when unchanged.
icon: Option<Vec<u8>>The icon bytes, when the descriptor’s icon hash changed.
Trait Implementations§
Source§impl Body for DescriptorPublish
impl Body for DescriptorPublish
Source§impl Clone for DescriptorPublish
impl Clone for DescriptorPublish
Source§fn clone(&self) -> DescriptorPublish
fn clone(&self) -> DescriptorPublish
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DescriptorPublish
impl Debug for DescriptorPublish
Source§impl<'de> Deserialize<'de> for DescriptorPublish
impl<'de> Deserialize<'de> for DescriptorPublish
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 DescriptorPublish
Source§impl PartialEq for DescriptorPublish
impl PartialEq for DescriptorPublish
Source§impl Serialize for DescriptorPublish
impl Serialize for DescriptorPublish
impl StructuralPartialEq for DescriptorPublish
Auto Trait Implementations§
impl Freeze for DescriptorPublish
impl RefUnwindSafe for DescriptorPublish
impl Send for DescriptorPublish
impl Sync for DescriptorPublish
impl Unpin for DescriptorPublish
impl UnsafeUnpin for DescriptorPublish
impl UnwindSafe for DescriptorPublish
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