pub trait ODataQuery<RHS = Self>where
Self: Sized,{
// Required method
fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self;
// Provided methods
fn count<S: AsRef<str>>(self, value: S) -> Self { ... }
fn select(self, value: &[&str]) -> Self { ... }
fn expand(self, value: &[&str]) -> Self { ... }
fn filter(self, value: &[&str]) -> Self { ... }
fn order_by(self, value: &[&str]) -> Self { ... }
fn search<S: AsRef<str>>(self, value: S) -> Self { ... }
fn format<S: AsRef<str>>(self, value: S) -> Self { ... }
fn skip<S: AsRef<str>>(self, value: S) -> Self { ... }
fn skip_token<S: AsRef<str>>(self, value: S) -> Self { ... }
fn delta_token<S: AsRef<str>>(self, value: S) -> Self { ... }
fn top<S: AsRef<str>>(self, value: S) -> Self { ... }
}
Required Methods§
fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self
Provided Methods§
Sourcefn count<S: AsRef<str>>(self, value: S) -> Self
fn count<S: AsRef<str>>(self, value: S) -> Self
Retrieves the total count of matching resources. See the docs
Sourcefn select(self, value: &[&str]) -> Self
fn select(self, value: &[&str]) -> Self
Filters properties (columns). See the docs
Sourcefn expand(self, value: &[&str]) -> Self
fn expand(self, value: &[&str]) -> Self
Retrieves related resources. See the docs
Sourcefn filter(self, value: &[&str]) -> Self
fn filter(self, value: &[&str]) -> Self
Filters results (rows). See the docs
Sourcefn order_by(self, value: &[&str]) -> Self
fn order_by(self, value: &[&str]) -> Self
Orders results. See the docs
Sourcefn search<S: AsRef<str>>(self, value: S) -> Self
fn search<S: AsRef<str>>(self, value: S) -> Self
Returns results based on search criteria. See the docs
Sourcefn format<S: AsRef<str>>(self, value: S) -> Self
fn format<S: AsRef<str>>(self, value: S) -> Self
Returns the results in the specified media format. See the docs
Sourcefn skip<S: AsRef<str>>(self, value: S) -> Self
fn skip<S: AsRef<str>>(self, value: S) -> Self
Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results. See the docs
Sourcefn skip_token<S: AsRef<str>>(self, value: S) -> Self
fn skip_token<S: AsRef<str>>(self, value: S) -> Self
Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Sourcefn delta_token<S: AsRef<str>>(self, value: S) -> Self
fn delta_token<S: AsRef<str>>(self, value: S) -> Self
Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Sourcefn top<S: AsRef<str>>(self, value: S) -> Self
fn top<S: AsRef<str>>(self, value: S) -> Self
Sets the page size of results. See the docs
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.