pub struct EpoClient { /* private fields */ }Expand description
Client for European Patent Office (EPO) Open Patent Services
Note: This is a placeholder for future EPO integration. The EPO OPS API requires registration and OAuth authentication. See: https://developers.epo.org/
Implementations§
Source§impl EpoClient
impl EpoClient
Sourcepub fn new(
consumer_key: Option<String>,
consumer_secret: Option<String>,
) -> Result<Self>
pub fn new( consumer_key: Option<String>, consumer_secret: Option<String>, ) -> Result<Self>
Create a new EPO client
§Arguments
consumer_key- EPO API consumer key (from developer registration)consumer_secret- EPO API consumer secret
Registration required at: https://developers.epo.org/
Sourcepub async fn search_patents(
&self,
_query: &str,
_max_results: usize,
) -> Result<Vec<SemanticVector>>
pub async fn search_patents( &self, _query: &str, _max_results: usize, ) -> Result<Vec<SemanticVector>>
Search European patents
Note: Implementation requires OAuth authentication flow. This is a placeholder for future development.
Auto Trait Implementations§
impl Freeze for EpoClient
impl !RefUnwindSafe for EpoClient
impl Send for EpoClient
impl Sync for EpoClient
impl Unpin for EpoClient
impl !UnwindSafe for EpoClient
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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