pub struct SurfaceAvailability {
pub mcp: bool,
pub cli: bool,
pub rest: bool,
pub web_ui: bool,
}Expand description
Serializable flags describing which surfaces expose an action.
Fields§
§mcp: boolReachable over MCP.
cli: boolReachable over the CLI.
rest: boolReachable over REST.
web_ui: boolReachable from the web UI.
Trait Implementations§
Source§impl Clone for SurfaceAvailability
impl Clone for SurfaceAvailability
Source§fn clone(&self) -> SurfaceAvailability
fn clone(&self) -> SurfaceAvailability
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 SurfaceAvailability
impl Debug for SurfaceAvailability
Source§impl PartialEq for SurfaceAvailability
impl PartialEq for SurfaceAvailability
Source§fn eq(&self, other: &SurfaceAvailability) -> bool
fn eq(&self, other: &SurfaceAvailability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SurfaceAvailability
impl Serialize for SurfaceAvailability
impl Eq for SurfaceAvailability
impl StructuralPartialEq for SurfaceAvailability
Auto Trait Implementations§
impl Freeze for SurfaceAvailability
impl RefUnwindSafe for SurfaceAvailability
impl Send for SurfaceAvailability
impl Sync for SurfaceAvailability
impl Unpin for SurfaceAvailability
impl UnsafeUnpin for SurfaceAvailability
impl UnwindSafe for SurfaceAvailability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.