[−][src]Struct sync15::request::CollectionRequest
Fields
collection: Cow<'static, str>full: boolids: Option<Vec<Guid>>limit: usizeolder: Option<ServerTimestamp>newer: Option<ServerTimestamp>order: Option<RequestOrder>commit: boolbatch: Option<String>Implementations
impl CollectionRequest[src]
pub fn new<S>(collection: S) -> CollectionRequest where
S: Into<Cow<'static, str>>, [src]
S: Into<Cow<'static, str>>,
pub fn ids<V>(self, v: V) -> CollectionRequest where
V: IntoIterator,
<V as IntoIterator>::Item: Into<Guid>, [src]
V: IntoIterator,
<V as IntoIterator>::Item: Into<Guid>,
pub fn full(self) -> CollectionRequest[src]
pub fn older_than(self, ts: ServerTimestamp) -> CollectionRequest[src]
pub fn newer_than(self, ts: ServerTimestamp) -> CollectionRequest[src]
pub fn sort_by(self, order: RequestOrder) -> CollectionRequest[src]
pub fn limit(self, num: usize) -> CollectionRequest[src]
pub fn batch(self, batch: Option<String>) -> CollectionRequest[src]
pub fn commit(self, v: bool) -> CollectionRequest[src]
pub fn build_url(&self, base_url: Url) -> Result<Url, UnacceptableBaseUrl>[src]
Trait Implementations
impl Clone for CollectionRequest[src]
fn clone(&self) -> CollectionRequest[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for CollectionRequest[src]
impl PartialEq<CollectionRequest> for CollectionRequest[src]
fn eq(&self, other: &CollectionRequest) -> bool[src]
fn ne(&self, other: &CollectionRequest) -> bool[src]
impl StructuralPartialEq for CollectionRequest[src]
Auto Trait Implementations
impl RefUnwindSafe for CollectionRequest
impl Send for CollectionRequest
impl Sync for CollectionRequest
impl Unpin for CollectionRequest
impl UnwindSafe for CollectionRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,