pub struct Surface {
pub method: &'static str,
pub path: &'static str,
pub summary: &'static str,
pub description: &'static str,
pub answers: &'static str,
pub query: &'static [(&'static str, &'static str, &'static str)],
pub signed_in: bool,
pub agents: Agents,
}Expand description
One route outside the tools and the identity endpoints.
Fields§
§method: &'static str§path: &'static str§summary: &'static str§description: &'static str§answers: &'static strjson, sse, websocket, image, none.
query: &'static [(&'static str, &'static str, &'static str)]Query parameters: (name, type, description).
signed_in: boolWhether it needs a credential.
agents: AgentsAuto Trait Implementations§
impl Freeze for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnsafeUnpin for Surface
impl UnwindSafe for Surface
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