pub struct ConnectorCall<'a> {
pub label: &'a ServerLabel,
pub tool: &'a ToolName,
}Expand description
Which connector tool one call names.
One value rather than two parameters because neither decides anything alone: the judgement is precisely “what is left of the tool name once its label is taken off the front”, so the label and the name are two halves of one fact.
Fields§
§label: &'a ServerLabel§tool: &'a ToolNameTrait Implementations§
Source§impl<'a> Clone for ConnectorCall<'a>
impl<'a> Clone for ConnectorCall<'a>
impl<'a> Copy for ConnectorCall<'a>
Source§impl<'a> Debug for ConnectorCall<'a>
impl<'a> Debug for ConnectorCall<'a>
impl<'a> Eq for ConnectorCall<'a>
Source§impl<'a> PartialEq for ConnectorCall<'a>
impl<'a> PartialEq for ConnectorCall<'a>
impl<'a> StructuralPartialEq for ConnectorCall<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConnectorCall<'a>
impl<'a> RefUnwindSafe for ConnectorCall<'a>
impl<'a> Send for ConnectorCall<'a>
impl<'a> Sync for ConnectorCall<'a>
impl<'a> Unpin for ConnectorCall<'a>
impl<'a> UnsafeUnpin for ConnectorCall<'a>
impl<'a> UnwindSafe for ConnectorCall<'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