pub struct AgentSurfaceOptions<'a> {
pub openapi_json: Option<&'a str>,
pub serve_openapi: bool,
pub mcp: bool,
pub principal_authority_import: Option<&'a str>,
}Fields§
§openapi_json: Option<&'a str>§serve_openapi: bool§mcp: boolTrait Implementations§
Source§impl<'a> Clone for AgentSurfaceOptions<'a>
impl<'a> Clone for AgentSurfaceOptions<'a>
Source§fn clone(&self) -> AgentSurfaceOptions<'a>
fn clone(&self) -> AgentSurfaceOptions<'a>
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 moreimpl<'a> Copy for AgentSurfaceOptions<'a>
Source§impl<'a> Debug for AgentSurfaceOptions<'a>
impl<'a> Debug for AgentSurfaceOptions<'a>
Source§impl<'a> Default for AgentSurfaceOptions<'a>
impl<'a> Default for AgentSurfaceOptions<'a>
Source§fn default() -> AgentSurfaceOptions<'a>
fn default() -> AgentSurfaceOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for AgentSurfaceOptions<'a>
impl<'a> RefUnwindSafe for AgentSurfaceOptions<'a>
impl<'a> Send for AgentSurfaceOptions<'a>
impl<'a> Sync for AgentSurfaceOptions<'a>
impl<'a> Unpin for AgentSurfaceOptions<'a>
impl<'a> UnsafeUnpin for AgentSurfaceOptions<'a>
impl<'a> UnwindSafe for AgentSurfaceOptions<'a>
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