pub struct SetAppMetadataParams {
pub metadata: String,
}Expand description
Params of Request::SetAppMetadata: this node’s opaque app-metadata blob (#39). The
daemon NEVER interprets it — the embedder structures its own bytes (a version string,
small JSON, …). Capped at 256 bytes; "" clears it. Roster-mode only (it rides the
signed presence heartbeat); a pure-pairing daemon accepts + stores it but never gossips it.
Fields§
§metadata: StringTrait Implementations§
Source§impl Clone for SetAppMetadataParams
impl Clone for SetAppMetadataParams
Source§fn clone(&self) -> SetAppMetadataParams
fn clone(&self) -> SetAppMetadataParams
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 SetAppMetadataParams
impl Debug for SetAppMetadataParams
Source§impl<'de> Deserialize<'de> for SetAppMetadataParams
impl<'de> Deserialize<'de> for SetAppMetadataParams
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 SetAppMetadataParams
Source§impl PartialEq for SetAppMetadataParams
impl PartialEq for SetAppMetadataParams
Source§impl Serialize for SetAppMetadataParams
impl Serialize for SetAppMetadataParams
impl StructuralPartialEq for SetAppMetadataParams
Auto Trait Implementations§
impl Freeze for SetAppMetadataParams
impl RefUnwindSafe for SetAppMetadataParams
impl Send for SetAppMetadataParams
impl Sync for SetAppMetadataParams
impl Unpin for SetAppMetadataParams
impl UnsafeUnpin for SetAppMetadataParams
impl UnwindSafe for SetAppMetadataParams
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