pub struct NewCommit<'a> {
pub repo_id: &'a str,
pub ts: &'a str,
pub origin: Origin,
pub actor: Option<&'a str>,
pub reason: Option<&'a str>,
pub checkpoint_id: Option<&'a str>,
pub ops: Option<&'a str>,
}Expand description
What a commit row records besides its minted id and sequence number.
Fields§
§repo_id: &'a str§ts: &'a str§origin: Origin§actor: Option<&'a str>§reason: Option<&'a str>§checkpoint_id: Option<&'a str>§ops: Option<&'a str>Implementations§
Trait Implementations§
impl<'a> Eq for NewCommit<'a>
impl<'a> StructuralPartialEq for NewCommit<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewCommit<'a>
impl<'a> RefUnwindSafe for NewCommit<'a>
impl<'a> Send for NewCommit<'a>
impl<'a> Sync for NewCommit<'a>
impl<'a> Unpin for NewCommit<'a>
impl<'a> UnsafeUnpin for NewCommit<'a>
impl<'a> UnwindSafe for NewCommit<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.