pub struct SearchRelationsRequest {
pub session: Option<SessionSelector>,
pub predicates: PredicateSet<RelationPredicate>,
pub page: PageRequest,
}Fields§
§session: Option<SessionSelector>§predicates: PredicateSet<RelationPredicate>§page: PageRequestImplementations§
Source§impl SearchRelationsRequest
impl SearchRelationsRequest
pub fn validate_for_browser( &mut self, datastore_id: PublicUuid, protocol_version: &ProtocolVersion, ) -> Result<(), ProtocolError>
pub fn browser_decoded_cursor( &self, datastore_id: PublicUuid, protocol_version: &ProtocolVersion, ) -> Result<Option<RelationSearchCursorAnchor>, ProtocolError>
pub fn encode_browser_cursor( &self, datastore_id: PublicUuid, protocol_version: &ProtocolVersion, after: RelationSearchCursorAnchor, ) -> Result<String, ProtocolError>
pub fn validate( &mut self, protocol_version: &ProtocolVersion, ) -> Result<(), ProtocolError>
pub fn decoded_cursor( &self, protocol_version: &ProtocolVersion, ) -> Result<Option<RelationSearchCursorAnchor>, ProtocolError>
pub fn encode_cursor( &self, protocol_version: &ProtocolVersion, after: RelationSearchCursorAnchor, ) -> Result<String, ProtocolError>
Trait Implementations§
Source§impl Clone for SearchRelationsRequest
impl Clone for SearchRelationsRequest
Source§fn clone(&self) -> SearchRelationsRequest
fn clone(&self) -> SearchRelationsRequest
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 SearchRelationsRequest
impl Debug for SearchRelationsRequest
Source§impl<'de> Deserialize<'de> for SearchRelationsRequest
impl<'de> Deserialize<'de> for SearchRelationsRequest
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 SearchRelationsRequest
impl PartialEq for SearchRelationsRequest
Source§impl Serialize for SearchRelationsRequest
impl Serialize for SearchRelationsRequest
impl Eq for SearchRelationsRequest
impl StructuralPartialEq for SearchRelationsRequest
Auto Trait Implementations§
impl Freeze for SearchRelationsRequest
impl RefUnwindSafe for SearchRelationsRequest
impl Send for SearchRelationsRequest
impl Sync for SearchRelationsRequest
impl Unpin for SearchRelationsRequest
impl UnsafeUnpin for SearchRelationsRequest
impl UnwindSafe for SearchRelationsRequest
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