pub struct AttributeRequest {
pub code: Option<String>,
}Fields§
§code: Option<String>Code is the affiliate code the referred org arrived with. Body-only: the URL cannot supply it.
Implementations§
Source§impl AttributeRequest
impl AttributeRequest
pub fn new() -> AttributeRequest
Trait Implementations§
Source§impl Clone for AttributeRequest
impl Clone for AttributeRequest
Source§fn clone(&self) -> AttributeRequest
fn clone(&self) -> AttributeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttributeRequest
impl Debug for AttributeRequest
Source§impl Default for AttributeRequest
impl Default for AttributeRequest
Source§fn default() -> AttributeRequest
fn default() -> AttributeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeRequest
impl<'de> Deserialize<'de> for AttributeRequest
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 PartialEq for AttributeRequest
impl PartialEq for AttributeRequest
Source§impl Serialize for AttributeRequest
impl Serialize for AttributeRequest
impl StructuralPartialEq for AttributeRequest
Auto Trait Implementations§
impl Freeze for AttributeRequest
impl RefUnwindSafe for AttributeRequest
impl Send for AttributeRequest
impl Sync for AttributeRequest
impl Unpin for AttributeRequest
impl UnsafeUnpin for AttributeRequest
impl UnwindSafe for AttributeRequest
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