pub struct PropGetOptions {
pub peg_revision: Revision,
pub revision: Revision,
pub depth: Depth,
pub changelists: Option<Vec<String>>,
}Expand description
Options for property get operations
Fields§
§peg_revision: RevisionPeg revision.
revision: RevisionOperative revision.
depth: DepthRecursion depth.
changelists: Option<Vec<String>>Changelists to limit operation to (None means all).
Implementations§
Source§impl PropGetOptions
impl PropGetOptions
Sourcepub fn with_peg_revision(self, peg_revision: Revision) -> Self
pub fn with_peg_revision(self, peg_revision: Revision) -> Self
Sets the peg revision.
Sourcepub fn with_revision(self, revision: Revision) -> Self
pub fn with_revision(self, revision: Revision) -> Self
Sets the operative revision.
Sourcepub fn with_depth(self, depth: Depth) -> Self
pub fn with_depth(self, depth: Depth) -> Self
Sets the depth.
Sourcepub fn with_changelists(self, changelists: Vec<String>) -> Self
pub fn with_changelists(self, changelists: Vec<String>) -> Self
Sets the changelists.
Trait Implementations§
Source§impl Clone for PropGetOptions
impl Clone for PropGetOptions
Source§fn clone(&self) -> PropGetOptions
fn clone(&self) -> PropGetOptions
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 PropGetOptions
impl Debug for PropGetOptions
Auto Trait Implementations§
impl Freeze for PropGetOptions
impl RefUnwindSafe for PropGetOptions
impl Send for PropGetOptions
impl Sync for PropGetOptions
impl Unpin for PropGetOptions
impl UnsafeUnpin for PropGetOptions
impl UnwindSafe for PropGetOptions
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