pub struct TodoTools {
pub write: TodoWriteTool,
pub read: TodoReadTool,
}Expand description
Helper for creating paired todo tools with shared state.
Fields§
§write: TodoWriteToolTool for writing todos.
read: TodoReadToolTool for reading todos.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TodoTools
impl !RefUnwindSafe for TodoTools
impl Send for TodoTools
impl Sync for TodoTools
impl Unpin for TodoTools
impl !UnwindSafe for TodoTools
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