[−][src]Struct crossref::response::Response
Represents the whole crossref response for a any request.
Fields
status: String
the status of the request
message_type: MessageType
the type of the response message holds
message_version: String
the version of the service created this message
message: Option<Message>
the actual message of the response
Methods
impl Response
[src]
pub fn is_work_ageny(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_funder(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_prefix(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_work(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_type(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_journal(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_member(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_validation_failure(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_type_list(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_work_list(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_member_list(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_journal_list(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_funder_list(&self) -> bool
[src]
checks if the message holds the variant
pub fn is_route_not_found(&self) -> bool
[src]
checks whether the message
holds a variant of RouteNotFound
Trait Implementations
impl Clone for Response
[src]
fn clone(&self) -> Response
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Response
[src]
impl Serialize for Response
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Response
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,