pub struct GetParams {
pub select: Option<String>,
}Expand description
Query parameters for single-entity GET endpoints. Only field selection is supported.
use papers_openalex::GetParams;
// No field selection (return full entity)
let params = GetParams::default();
// Select specific fields to reduce payload
let params = GetParams::builder()
.select("id,display_name,cited_by_count")
.build();Fields§
§select: Option<String>Comma-separated list of fields to include in the response.
Example: "id,display_name,cited_by_count"
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetParams
impl RefUnwindSafe for GetParams
impl Send for GetParams
impl Sync for GetParams
impl Unpin for GetParams
impl UnsafeUnpin for GetParams
impl UnwindSafe for GetParams
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