pub struct BrowserRelationSearchResponse {
pub protocol_version: ProtocolVersion,
pub datastore_id: PublicUuid,
pub family: String,
pub predicates: PredicateSet<RelationPredicate>,
pub relations: Vec<BrowserEntityRelationDiscoveryRecord>,
pub returned_count: u16,
pub requested_limit: u16,
pub ordering: BrowserSearchOrdering,
pub has_more: bool,
pub next_cursor: Option<String>,
pub empty_state: Option<BrowserRelationSearchEmptyState>,
}Expand description
Browser-safe response for a datastore-scoped model-relation search.
Fields§
§protocol_version: ProtocolVersion§datastore_id: PublicUuid§family: String§predicates: PredicateSet<RelationPredicate>§relations: Vec<BrowserEntityRelationDiscoveryRecord>§returned_count: u16§requested_limit: u16§ordering: BrowserSearchOrdering§has_more: bool§next_cursor: Option<String>§empty_state: Option<BrowserRelationSearchEmptyState>Trait Implementations§
Source§impl Clone for BrowserRelationSearchResponse
impl Clone for BrowserRelationSearchResponse
Source§fn clone(&self) -> BrowserRelationSearchResponse
fn clone(&self) -> BrowserRelationSearchResponse
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<'de> Deserialize<'de> for BrowserRelationSearchResponse
impl<'de> Deserialize<'de> for BrowserRelationSearchResponse
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 BrowserRelationSearchResponse
impl PartialEq for BrowserRelationSearchResponse
Source§fn eq(&self, other: &BrowserRelationSearchResponse) -> bool
fn eq(&self, other: &BrowserRelationSearchResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BrowserRelationSearchResponse
impl StructuralPartialEq for BrowserRelationSearchResponse
Auto Trait Implementations§
impl Freeze for BrowserRelationSearchResponse
impl RefUnwindSafe for BrowserRelationSearchResponse
impl Send for BrowserRelationSearchResponse
impl Sync for BrowserRelationSearchResponse
impl Unpin for BrowserRelationSearchResponse
impl UnsafeUnpin for BrowserRelationSearchResponse
impl UnwindSafe for BrowserRelationSearchResponse
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