pub struct SetRelationTool { /* private fields */ }Expand description
Tool for setting or removing issue relations.
Implementations§
Source§impl SetRelationTool
impl SetRelationTool
pub fn new(linear: Arc<LinearTools>) -> Self
Trait Implementations§
Source§impl Clone for SetRelationTool
impl Clone for SetRelationTool
Source§fn clone(&self) -> SetRelationTool
fn clone(&self) -> SetRelationTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Tool for SetRelationTool
impl Tool for SetRelationTool
Source§const DESCRIPTION: &'static str = "Set or remove a relation between two issues. Provide relation_type to create (blocks/duplicate/related), or omit/null to remove any existing relation."
const DESCRIPTION: &'static str = "Set or remove a relation between two issues. Provide relation_type to create (blocks/duplicate/related), or omit/null to remove any existing relation."
Human-readable description of what the tool does.
Source§type Input = SetRelationInput
type Input = SetRelationInput
Input type for the tool (no serde bounds required).
Source§type Output = SetRelationResult
type Output = SetRelationResult
Output type for the tool (no serde bounds required).
Auto Trait Implementations§
impl Freeze for SetRelationTool
impl RefUnwindSafe for SetRelationTool
impl Send for SetRelationTool
impl Sync for SetRelationTool
impl Unpin for SetRelationTool
impl UnsafeUnpin for SetRelationTool
impl UnwindSafe for SetRelationTool
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