pub enum Members {
Identifier(String),
Query(MembersQuery),
Works(WorksIdentQuery),
}Expand description
constructs the request payload for the /members route
Variants§
Identifier(String)
target a specific member at /members/{id}
Query(MembersQuery)
target all members that match the query at /members?query...
Works(WorksIdentQuery)
target a Work for a specific funder at /members/{id}/works?query..
Trait Implementations§
Source§impl CrossrefQuery for Members
impl CrossrefQuery for Members
Source§fn resource_component(self) -> ResourceComponent
fn resource_component(self) -> ResourceComponent
the resource component endpoint this route targets
Source§impl CrossrefRoute for Members
impl CrossrefRoute for Members
Source§impl WorksCombiner for Members
impl WorksCombiner for Members
Source§fn primary_component() -> WorksComponent
fn primary_component() -> WorksComponent
the primary component of this type
Source§fn ident_query(ident: WorksIdentQuery) -> Self
fn ident_query(ident: WorksIdentQuery) -> Self
construct a new type
Source§fn combined_route(ident: &WorksIdentQuery) -> Result<String>
fn combined_route(ident: &WorksIdentQuery) -> Result<String>
the combined crossref route
Source§fn work_list_query(ident: WorksIdentQuery) -> WorkListQuery
fn work_list_query(ident: WorksIdentQuery) -> WorkListQuery
create a new combined
WorkListQuery with the primary componentAuto Trait Implementations§
impl Freeze for Members
impl RefUnwindSafe for Members
impl Send for Members
impl Sync for Members
impl Unpin for Members
impl UnsafeUnpin for Members
impl UnwindSafe for Members
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