pub struct BatchComment {
pub task: NativeId,
pub comment: NewComment,
pub if_version: Option<String>,
}Expand description
One comment of a batch: a new comment on one existing task, held to the version the caller
read when if_version names one.
Fields§
§task: NativeIdThe task commented on.
comment: NewCommentThe comment.
if_version: Option<String>The version the task must be at for the comment to be written.
Trait Implementations§
Source§impl Clone for BatchComment
impl Clone for BatchComment
Source§impl Debug for BatchComment
impl Debug for BatchComment
Source§impl PartialEq for BatchComment
impl PartialEq for BatchComment
impl StructuralPartialEq for BatchComment
Auto Trait Implementations§
impl Forget for BatchComment
impl Freeze for BatchComment
impl Move for BatchComment
impl RefUnwindSafe for BatchComment
impl Send for BatchComment
impl Sync for BatchComment
impl Unpin for BatchComment
impl UnsafeUnpin for BatchComment
impl UnwindSafe for BatchComment
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