pub struct GetOneParams {
pub query: Option<Query>,
pub locale: Option<String>,
}Expand description
Query parameters for fetching a single entry by UID.
Fields§
§query: Option<Query>JSON query filter - serialized internally, no need to stringify manually.
locale: Option<String>Locale code to fetch the entry for (e.g. "en-us").
Auto Trait Implementations§
impl Freeze for GetOneParams
impl RefUnwindSafe for GetOneParams
impl Send for GetOneParams
impl Sync for GetOneParams
impl Unpin for GetOneParams
impl UnsafeUnpin for GetOneParams
impl UnwindSafe for GetOneParams
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