pub enum OpenLibraryResource {
Author(String),
Book(String),
Work(String),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OpenLibraryResource
impl Clone for OpenLibraryResource
Source§fn clone(&self) -> OpenLibraryResource
fn clone(&self) -> OpenLibraryResource
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 OpenLibraryResource
impl Debug for OpenLibraryResource
Source§impl<'de> Deserialize<'de> for OpenLibraryResource
impl<'de> Deserialize<'de> for OpenLibraryResource
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OpenLibraryResource
impl Display for OpenLibraryResource
Source§impl From<OpenLibraryResource> for OpenLibraryIdentifier
impl From<OpenLibraryResource> for OpenLibraryIdentifier
Source§fn from(resource: OpenLibraryResource) -> Self
fn from(resource: OpenLibraryResource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OpenLibraryResource
impl PartialEq for OpenLibraryResource
Source§impl Serialize for OpenLibraryResource
impl Serialize for OpenLibraryResource
impl Eq for OpenLibraryResource
impl StructuralPartialEq for OpenLibraryResource
Auto Trait Implementations§
impl Freeze for OpenLibraryResource
impl RefUnwindSafe for OpenLibraryResource
impl Send for OpenLibraryResource
impl Sync for OpenLibraryResource
impl Unpin for OpenLibraryResource
impl UnwindSafe for OpenLibraryResource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.