pub struct ReplayOptions {
pub revision: u64,
pub low_water_mark: u64,
pub send_deltas: bool,
}Expand description
Options for crate::RaSvnSession::replay.
Fields§
§revision: u64Revision to replay.
low_water_mark: u64Low water mark revision.
send_deltas: boolWhether to send deltas.
Implementations§
Source§impl ReplayOptions
impl ReplayOptions
Sourcepub fn with_low_water_mark(self, low_water_mark: u64) -> Self
pub fn with_low_water_mark(self, low_water_mark: u64) -> Self
Sets the low water mark.
Sourcepub fn with_send_deltas(self, send_deltas: bool) -> Self
pub fn with_send_deltas(self, send_deltas: bool) -> Self
Sets whether to request deltas.
Trait Implementations§
Source§impl Clone for ReplayOptions
impl Clone for ReplayOptions
Source§fn clone(&self) -> ReplayOptions
fn clone(&self) -> ReplayOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ReplayOptions
impl Debug for ReplayOptions
Source§impl<'de> Deserialize<'de> for ReplayOptions
impl<'de> Deserialize<'de> for ReplayOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReplayOptions
impl PartialEq for ReplayOptions
Source§impl Serialize for ReplayOptions
impl Serialize for ReplayOptions
impl Eq for ReplayOptions
impl StructuralPartialEq for ReplayOptions
Auto Trait Implementations§
impl Freeze for ReplayOptions
impl RefUnwindSafe for ReplayOptions
impl Send for ReplayOptions
impl Sync for ReplayOptions
impl Unpin for ReplayOptions
impl UnsafeUnpin for ReplayOptions
impl UnwindSafe for ReplayOptions
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