pub struct BrowserStudySearchInput {
pub session: Option<SessionSelector>,
pub predicates: Option<PredicateSet<StudyPredicate>>,
pub query: Option<BrowserStudySearchQuery>,
pub page: PageRequest,
}Expand description
Browser-specific aggregate Study search input.
The explicit nesting fixes the truth semantics at
text AND any tag AND any Domain; an empty group is not applied.
Fields§
§session: Option<SessionSelector>§predicates: Option<PredicateSet<StudyPredicate>>§query: Option<BrowserStudySearchQuery>§page: PageRequestImplementations§
Source§impl BrowserStudySearchInput
impl BrowserStudySearchInput
pub fn validate( &mut self, datastore_id: PublicUuid, protocol_version: &ProtocolVersion, ) -> Result<(), ProtocolError>
pub fn decoded_cursor( &self, datastore_id: PublicUuid, protocol_version: &ProtocolVersion, ) -> Result<Option<StudySearchCursorAnchor>, ProtocolError>
pub fn encode_cursor( &self, datastore_id: PublicUuid, protocol_version: &ProtocolVersion, after: StudySearchCursorAnchor, ) -> Result<String, ProtocolError>
Trait Implementations§
Source§impl Clone for BrowserStudySearchInput
impl Clone for BrowserStudySearchInput
Source§fn clone(&self) -> BrowserStudySearchInput
fn clone(&self) -> BrowserStudySearchInput
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 BrowserStudySearchInput
impl Debug for BrowserStudySearchInput
Source§impl<'de> Deserialize<'de> for BrowserStudySearchInput
impl<'de> Deserialize<'de> for BrowserStudySearchInput
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 BrowserStudySearchInput
impl PartialEq for BrowserStudySearchInput
Source§impl Serialize for BrowserStudySearchInput
impl Serialize for BrowserStudySearchInput
impl Eq for BrowserStudySearchInput
impl StructuralPartialEq for BrowserStudySearchInput
Auto Trait Implementations§
impl Freeze for BrowserStudySearchInput
impl RefUnwindSafe for BrowserStudySearchInput
impl Send for BrowserStudySearchInput
impl Sync for BrowserStudySearchInput
impl Unpin for BrowserStudySearchInput
impl UnsafeUnpin for BrowserStudySearchInput
impl UnwindSafe for BrowserStudySearchInput
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