pub struct MetadataQuery { /* private fields */ }Expand description
Query builder for the getMetadata endpoint.
Constraints enforced at build time:
DBmust be non-empty ASCII and must not contain commas.
§Examples
use boj_client::query::{Format, Language, MetadataQuery};
let _query = MetadataQuery::new("ME")?
.with_format(Format::Json)
.with_lang(Language::En);Implementations§
Source§impl MetadataQuery
impl MetadataQuery
Trait Implementations§
Source§impl Clone for MetadataQuery
impl Clone for MetadataQuery
Source§fn clone(&self) -> MetadataQuery
fn clone(&self) -> MetadataQuery
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 MetadataQuery
impl Debug for MetadataQuery
Source§impl PartialEq for MetadataQuery
impl PartialEq for MetadataQuery
impl Eq for MetadataQuery
impl StructuralPartialEq for MetadataQuery
Auto Trait Implementations§
impl Freeze for MetadataQuery
impl RefUnwindSafe for MetadataQuery
impl Send for MetadataQuery
impl Sync for MetadataQuery
impl Unpin for MetadataQuery
impl UnsafeUnpin for MetadataQuery
impl UnwindSafe for MetadataQuery
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