pub struct BookmarkUpdate {
pub remote: String,
pub bookmark: String,
pub update_type: UpdateType,
pub old_commit: Option<String>,
pub new_commit: Option<String>,
}Fields§
§remote: String§bookmark: String§update_type: UpdateType§old_commit: Option<String>§new_commit: Option<String>Trait Implementations§
Source§impl Clone for BookmarkUpdate
impl Clone for BookmarkUpdate
Source§fn clone(&self) -> BookmarkUpdate
fn clone(&self) -> BookmarkUpdate
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 moreSource§impl Debug for BookmarkUpdate
impl Debug for BookmarkUpdate
Source§impl Display for BookmarkUpdate
impl Display for BookmarkUpdate
Source§impl Hash for BookmarkUpdate
impl Hash for BookmarkUpdate
Source§impl PartialEq for BookmarkUpdate
impl PartialEq for BookmarkUpdate
Source§fn eq(&self, other: &BookmarkUpdate) -> bool
fn eq(&self, other: &BookmarkUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BookmarkUpdate
impl StructuralPartialEq for BookmarkUpdate
Auto Trait Implementations§
impl Freeze for BookmarkUpdate
impl RefUnwindSafe for BookmarkUpdate
impl Send for BookmarkUpdate
impl Sync for BookmarkUpdate
impl Unpin for BookmarkUpdate
impl UnsafeUnpin for BookmarkUpdate
impl UnwindSafe for BookmarkUpdate
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