pub struct GetOptions {
pub rev: Option<String>,
pub conflicts: bool,
pub open_revs: Option<OpenRevs>,
pub revs: bool,
pub revs_info: bool,
pub latest: bool,
pub attachments: bool,
}Fields§
§rev: Option<String>Retrieve a specific revision.
conflicts: boolInclude conflicting revisions in _conflicts.
open_revs: Option<OpenRevs>Return all open (leaf) revisions.
revs: boolInclude full revision history.
revs_info: boolInclude full revision info with status (available/missing/deleted).
latest: boolIf rev is specified and not a leaf, return the latest leaf instead.
attachments: boolInclude inline Base64 attachment data.
Trait Implementations§
Source§impl Clone for GetOptions
impl Clone for GetOptions
Source§fn clone(&self) -> GetOptions
fn clone(&self) -> GetOptions
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 GetOptions
impl Debug for GetOptions
Source§impl Default for GetOptions
impl Default for GetOptions
Source§fn default() -> GetOptions
fn default() -> GetOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetOptions
impl RefUnwindSafe for GetOptions
impl Send for GetOptions
impl Sync for GetOptions
impl Unpin for GetOptions
impl UnwindSafe for GetOptions
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