pub struct ParsedSelector {
pub selector_string: String,
pub selector: Selector,
/* private fields */
}
Expand description
ParsedSelector stores the information Sampler needs to use the selector.
Fields§
§selector_string: String
The original string, needed to initialize the ArchiveAccessor
selector: Selector
The parsed selector, needed to fetch the value out of the returned hierarchy
Implementations§
Source§impl ParsedSelector
impl ParsedSelector
pub fn increment_upload_count(&self)
pub fn get_upload_count(&self) -> u64
Trait Implementations§
Source§impl Clone for ParsedSelector
impl Clone for ParsedSelector
Source§fn clone(&self) -> ParsedSelector
fn clone(&self) -> ParsedSelector
Returns a copy 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 ParsedSelector
impl Debug for ParsedSelector
Source§impl PartialEq for ParsedSelector
impl PartialEq for ParsedSelector
Auto Trait Implementations§
impl Freeze for ParsedSelector
impl RefUnwindSafe for ParsedSelector
impl Send for ParsedSelector
impl Sync for ParsedSelector
impl Unpin for ParsedSelector
impl UnwindSafe for ParsedSelector
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)