pub struct Comment { /* private fields */ }Expand description
Comment:评论资源
Implementations§
Source§impl Comment
impl Comment
Sourcepub fn create(&self) -> CreateCommentRequest
pub fn create(&self) -> CreateCommentRequest
创建新建请求。
Sourcepub fn get(&self, comment_guid: impl Into<String>) -> GetCommentRequest
pub fn get(&self, comment_guid: impl Into<String>) -> GetCommentRequest
创建获取详情请求。
Sourcepub fn update(&self, comment_guid: impl Into<String>) -> UpdateCommentRequest
pub fn update(&self, comment_guid: impl Into<String>) -> UpdateCommentRequest
创建更新请求。
Sourcepub fn delete(&self, comment_guid: impl Into<String>) -> DeleteCommentRequest
pub fn delete(&self, comment_guid: impl Into<String>) -> DeleteCommentRequest
创建删除请求。
Sourcepub fn list(&self) -> ListCommentsRequest
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