#[non_exhaustive]pub struct Presentation { /* private fields */ }Expand description
The title and icons a client may show for a tool, resource or prompt.
Both are optional. An unset title or an empty icon list is left out of the
listing, as before. Icon sources are checked when the server is served, see
BuildError::InvalidIcon.
Implementations§
Trait Implementations§
Source§impl Clone for Presentation
impl Clone for Presentation
Source§impl Debug for Presentation
impl Debug for Presentation
Source§impl Default for Presentation
impl Default for Presentation
Source§impl PartialEq for Presentation
impl PartialEq for Presentation
impl StructuralPartialEq for Presentation
Auto Trait Implementations§
impl Forget for Presentation
impl Freeze for Presentation
impl Move for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentationwhere
RawVecInner: Send,
impl Sync for Presentationwhere
RawVecInner: Sync,
impl Unpin for Presentation
impl UnsafeUnpin for Presentationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Icon>: UnsafeUnpin,
impl UnwindSafe for Presentationwhere
RawVecInner: UnwindSafe,
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