pub struct GetOneParams {
pub query: Option<Query>,
pub include_publish_details: Option<bool>,
pub include_metadata: Option<bool>,
pub locale: Option<String>,
pub environment: 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.
include_publish_details: Option<bool>When true, includes publish details in the response.
include_metadata: Option<bool>When true, includes entry metadata in the response.
locale: Option<String>Locale code to fetch the entry for (e.g. "en-us").
environment: Option<String>Environment name to fetch the entry for.
Trait Implementations§
Source§impl Clone for GetOneParams
impl Clone for GetOneParams
Source§fn clone(&self) -> GetOneParams
fn clone(&self) -> GetOneParams
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 Debug for GetOneParams
impl Debug for GetOneParams
Source§impl Default for GetOneParams
impl Default for GetOneParams
Source§fn default() -> GetOneParams
fn default() -> GetOneParams
Returns the “default value” for a type. Read more
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