[][src]Struct safe_core::core_structs::UserMetadata

pub struct UserMetadata {
    pub name: Option<String>,
    pub description: Option<String>,
}

Metadata for MutableData.

Fields

name: Option<String>

Name or purpose of this mutable data.

description: Option<String>

Description of how this mutable data should or should not be shared.

Implementations

impl UserMetadata[src]

pub fn into_md_response(
    self,
    xor_name: XorName,
    type_tag: u64
) -> Result<MetadataResponse, NulError>
[src]

Converts this object into an FFI representation with more information.

Trait Implementations

impl Clone for UserMetadata[src]

impl Debug for UserMetadata[src]

impl<'de> Deserialize<'de> for UserMetadata[src]

impl Eq for UserMetadata[src]

impl PartialEq<UserMetadata> for UserMetadata[src]

impl ReprC for UserMetadata[src]

type C = *const MetadataResponse

C representation of the type.

type Error = IpcError

Error type.

impl Serialize for UserMetadata[src]

impl StructuralEq for UserMetadata[src]

impl StructuralPartialEq for UserMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,