Struct azure_devops_rust_api::wit::comments_reactions::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
project: impl Into<String>,
work_item_id: i32,
comment_id: i32
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String>, work_item_id: i32, comment_id: i32 ) -> RequestBuilder
Gets reactions of a comment.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namework_item_id
: WorkItem IDcomment_id
: Comment ID
sourcepub fn create(
&self,
organization: impl Into<String>,
project: impl Into<String>,
work_item_id: i32,
comment_id: i32,
reaction_type: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, project: impl Into<String>, work_item_id: i32, comment_id: i32, reaction_type: impl Into<String> ) -> RequestBuilder
Adds a new reaction to a comment.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namework_item_id
: WorkItem IDcomment_id
: Comment IDreaction_type
: Type of the reaction
sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
work_item_id: i32,
comment_id: i32,
reaction_type: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, work_item_id: i32, comment_id: i32, reaction_type: impl Into<String> ) -> RequestBuilder
Deletes an existing reaction on a comment.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namework_item_id
: WorkItem IDcomment_id
: Comment IDreaction_type
: Type of the reaction
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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