pub struct Comment { /* private fields */ }Expand description
Comment:评论资源
Implementations§
Source§impl Comment
impl Comment
pub fn new(config: Arc<Config>) -> Self
pub fn with_task(self, task_guid: impl Into<String>) -> Self
pub fn create(&self) -> CreateCommentRequest
pub fn get(&self, comment_guid: impl Into<String>) -> GetCommentRequest
pub fn update(&self, comment_guid: impl Into<String>) -> UpdateCommentRequest
pub fn delete(&self, comment_guid: impl Into<String>) -> DeleteCommentRequest
pub fn list(&self) -> ListCommentsRequest
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Comment
impl !RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl !UnwindSafe for Comment
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