pub struct PutContextTypeRequest<'a> { /* private fields */ }
Expand description

Request builder for MetadataStore::put_context_type.

Implementations

When specified, stored properties can be omitted in the request type.

Otherwise, returns PutError::TypeAlreadyExists if the stored type has properties not in the request type.

When specified, new properties can be added.

Otherwise, returns PutError::TypeAlreadyExists if the request type has properties that are not in the stored type.

Adds properties to the type.

Adds a property to the type.

Inserts or updates a context type and returns the identifier of that.

See the official API doc for the details.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.