pub struct CibouletteQueryParametersBuilder<'request> { /* private fields */ }
Expand description
§Builder object for CibouletteQueryParameters
Implementations§
Source§impl<'request> CibouletteQueryParametersBuilder<'request>
impl<'request> CibouletteQueryParametersBuilder<'request>
Sourcepub fn include(&self) -> &Option<Vec<Vec<Cow<'request, str>>>>
pub fn include(&self) -> &Option<Vec<Vec<Cow<'request, str>>>>
Include other resource with response
Sourcepub fn sparse(&self) -> &BTreeMap<Cow<'request, str>, Vec<Cow<'request, str>>>
pub fn sparse(&self) -> &BTreeMap<Cow<'request, str>, Vec<Cow<'request, str>>>
Don’t include all the field for some types
Sourcepub fn sorting(&self) -> &Vec<(CibouletteSortingDirection, Cow<'request, str>)>
pub fn sorting(&self) -> &Vec<(CibouletteSortingDirection, Cow<'request, str>)>
Directive to sort the main type
Source§impl<'request> CibouletteQueryParametersBuilder<'request>
impl<'request> CibouletteQueryParametersBuilder<'request>
Sourcepub fn build(
self,
bag: &CibouletteStore,
main_type: Arc<CibouletteResourceType>,
) -> Result<CibouletteQueryParameters<'request>, CibouletteError>
pub fn build( self, bag: &CibouletteStore, main_type: Arc<CibouletteResourceType>, ) -> Result<CibouletteQueryParameters<'request>, CibouletteError>
Build a CibouletteQueryParametersBuilder from the builder
Trait Implementations§
Source§impl<'request> Debug for CibouletteQueryParametersBuilder<'request>
impl<'request> Debug for CibouletteQueryParametersBuilder<'request>
Source§impl<'de> Deserialize<'de> for CibouletteQueryParametersBuilder<'de>
impl<'de> Deserialize<'de> for CibouletteQueryParametersBuilder<'de>
Source§fn deserialize<D>(
deserializer: D,
) -> Result<CibouletteQueryParametersBuilder<'de>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<CibouletteQueryParametersBuilder<'de>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'request> Freeze for CibouletteQueryParametersBuilder<'request>
impl<'request> RefUnwindSafe for CibouletteQueryParametersBuilder<'request>
impl<'request> Send for CibouletteQueryParametersBuilder<'request>
impl<'request> Sync for CibouletteQueryParametersBuilder<'request>
impl<'request> Unpin for CibouletteQueryParametersBuilder<'request>
impl<'request> UnwindSafe for CibouletteQueryParametersBuilder<'request>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more