Struct paypal_rust::resources::link_description::LinkDescription
source · [−]pub struct LinkDescription {
pub href: String,
pub rel: String,
pub method: HttpMethod,
}
Fields
href: String
The complete target URL. To make the related call, combine the method with this URI Template-formatted link. For pre-processing, include the $, (, and ) characters. The href is the key HATEOAS component that links a completed call with a subsequent call.
rel: String
The link relation type, which serves as an ID for a link that unambiguously describes the semantics of the link. See Link Relations.
method: HttpMethod
The HTTP method required to make the related call.
Trait Implementations
sourceimpl Clone for LinkDescription
impl Clone for LinkDescription
sourcefn clone(&self) -> LinkDescription
fn clone(&self) -> LinkDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LinkDescription
impl Debug for LinkDescription
sourceimpl Default for LinkDescription
impl Default for LinkDescription
sourcefn default() -> LinkDescription
fn default() -> LinkDescription
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LinkDescription
impl<'de> Deserialize<'de> for LinkDescription
sourcefn 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
sourceimpl Serialize for LinkDescription
impl Serialize for LinkDescription
Auto Trait Implementations
impl RefUnwindSafe for LinkDescription
impl Send for LinkDescription
impl Sync for LinkDescription
impl Unpin for LinkDescription
impl UnwindSafe for LinkDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more