pub struct McpAnnotation {
pub key: Symbol,
pub value: Expr,
pub visibility: McpAnnotationVisibility,
}Expand description
Key/value annotation attached to a surface row, with a visibility scope.
Fields§
§key: SymbolAnnotation key.
value: ExprAnnotation value expression.
visibility: McpAnnotationVisibilityWhether the annotation is surfaced to clients.
Implementations§
Source§impl McpAnnotation
impl McpAnnotation
Trait Implementations§
Source§impl Clone for McpAnnotation
impl Clone for McpAnnotation
Source§fn clone(&self) -> McpAnnotation
fn clone(&self) -> McpAnnotation
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 McpAnnotation
impl Debug for McpAnnotation
Source§impl PartialEq for McpAnnotation
impl PartialEq for McpAnnotation
Source§fn eq(&self, other: &McpAnnotation) -> bool
fn eq(&self, other: &McpAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpAnnotation
Auto Trait Implementations§
impl Freeze for McpAnnotation
impl RefUnwindSafe for McpAnnotation
impl Send for McpAnnotation
impl Sync for McpAnnotation
impl Unpin for McpAnnotation
impl UnsafeUnpin for McpAnnotation
impl UnwindSafe for McpAnnotation
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