pub struct BrowserDomainCollectionRequest {
pub datastore_id: PublicUuid,
pub filters: BrowserDomainCollectionFilters,
pub page: PageRequest,
pub requested_protocol_version: Option<String>,
}Fields§
§datastore_id: PublicUuid§filters: BrowserDomainCollectionFiltersOptional collection filters. Text is combined with the selected tags as
text AND any tag; an absent text value or empty tag group is ignored.
page: PageRequest§requested_protocol_version: Option<String>Implementations§
Source§impl BrowserDomainCollectionRequest
impl BrowserDomainCollectionRequest
Sourcepub fn normalize_and_validate(&mut self) -> Result<(), ProtocolError>
pub fn normalize_and_validate(&mut self) -> Result<(), ProtocolError>
Trims text and canonicalizes tag order before enforcing collection filter bounds. Text and tag labels are bounded by Unicode character count, and the raw term count is checked before tag deduplication.
§Errors
Returns a field-addressable ProtocolError when text is empty or
longer than the protocol limit, or when the combined term count exceeds
the search-predicate limit.
Trait Implementations§
Source§impl Clone for BrowserDomainCollectionRequest
impl Clone for BrowserDomainCollectionRequest
Source§fn clone(&self) -> BrowserDomainCollectionRequest
fn clone(&self) -> BrowserDomainCollectionRequest
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 BrowserDomainCollectionRequest
impl<'de> Deserialize<'de> for BrowserDomainCollectionRequest
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 BrowserDomainCollectionRequest
impl PartialEq for BrowserDomainCollectionRequest
Source§fn eq(&self, other: &BrowserDomainCollectionRequest) -> bool
fn eq(&self, other: &BrowserDomainCollectionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BrowserDomainCollectionRequest
impl StructuralPartialEq for BrowserDomainCollectionRequest
Auto Trait Implementations§
impl Freeze for BrowserDomainCollectionRequest
impl RefUnwindSafe for BrowserDomainCollectionRequest
impl Send for BrowserDomainCollectionRequest
impl Sync for BrowserDomainCollectionRequest
impl Unpin for BrowserDomainCollectionRequest
impl UnsafeUnpin for BrowserDomainCollectionRequest
impl UnwindSafe for BrowserDomainCollectionRequest
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