pub struct UpdateSubscriptionApiResponse {
pub reason: Option<String>,
pub code: Option<String>,
pub subscription: Option<Box<ApiUserSubscription>>,
pub status: String,
}Fields§
§reason: Option<String>§code: Option<String>§subscription: Option<Box<ApiUserSubscription>>§status: StringImplementations§
Source§impl UpdateSubscriptionApiResponse
impl UpdateSubscriptionApiResponse
pub fn new(status: String) -> UpdateSubscriptionApiResponse
Trait Implementations§
Source§impl Clone for UpdateSubscriptionApiResponse
impl Clone for UpdateSubscriptionApiResponse
Source§fn clone(&self) -> UpdateSubscriptionApiResponse
fn clone(&self) -> UpdateSubscriptionApiResponse
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 Default for UpdateSubscriptionApiResponse
impl Default for UpdateSubscriptionApiResponse
Source§fn default() -> UpdateSubscriptionApiResponse
fn default() -> UpdateSubscriptionApiResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSubscriptionApiResponse
impl<'de> Deserialize<'de> for UpdateSubscriptionApiResponse
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 UpdateSubscriptionApiResponse
impl PartialEq for UpdateSubscriptionApiResponse
Source§fn eq(&self, other: &UpdateSubscriptionApiResponse) -> bool
fn eq(&self, other: &UpdateSubscriptionApiResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSubscriptionApiResponse
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionApiResponse
impl RefUnwindSafe for UpdateSubscriptionApiResponse
impl Send for UpdateSubscriptionApiResponse
impl Sync for UpdateSubscriptionApiResponse
impl Unpin for UpdateSubscriptionApiResponse
impl UnsafeUnpin for UpdateSubscriptionApiResponse
impl UnwindSafe for UpdateSubscriptionApiResponse
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