#[non_exhaustive]pub struct ObjectCustomContextPayload {
pub value: Option<String>,
/* private fields */
}Expand description
Describes the payload of a user defined object custom context.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: Option<String>The value of the object custom context.
If set, value must NOT be an empty string since it is a required field in
custom context. If unset, value will be ignored and no changes will be
made to the value field of the custom context payload.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectCustomContextPayload
impl Clone for ObjectCustomContextPayload
Source§fn clone(&self) -> ObjectCustomContextPayload
fn clone(&self) -> ObjectCustomContextPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 ObjectCustomContextPayload
impl Debug for ObjectCustomContextPayload
Source§impl Default for ObjectCustomContextPayload
impl Default for ObjectCustomContextPayload
Source§fn default() -> ObjectCustomContextPayload
fn default() -> ObjectCustomContextPayload
Returns the “default value” for a type. Read more
Source§impl Message for ObjectCustomContextPayload
impl Message for ObjectCustomContextPayload
impl StructuralPartialEq for ObjectCustomContextPayload
Auto Trait Implementations§
impl Freeze for ObjectCustomContextPayload
impl RefUnwindSafe for ObjectCustomContextPayload
impl Send for ObjectCustomContextPayload
impl Sync for ObjectCustomContextPayload
impl Unpin for ObjectCustomContextPayload
impl UnsafeUnpin for ObjectCustomContextPayload
impl UnwindSafe for ObjectCustomContextPayload
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