pub struct PullOutcome {
pub document_id: String,
pub new_comment_ids: Vec<String>,
pub total_comments: usize,
pub new_content: String,
}Expand description
The result of a pull: what was merged and the new file content to persist.
Fields§
§document_id: StringThe linked document the comments were pulled from.
new_comment_ids: Vec<String>Ids of comments newly inserted as TODO headings this pull.
total_comments: usizeTotal comments Google returned for the document.
new_content: StringThe new file content to write back (body preserved, machine region rebuilt).
Trait Implementations§
Source§impl Clone for PullOutcome
impl Clone for PullOutcome
Source§fn clone(&self) -> PullOutcome
fn clone(&self) -> PullOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PullOutcome
impl RefUnwindSafe for PullOutcome
impl Send for PullOutcome
impl Sync for PullOutcome
impl Unpin for PullOutcome
impl UnsafeUnpin for PullOutcome
impl UnwindSafe for PullOutcome
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