pub struct GetSubscriptionResponse {
pub payload: Option<Box<Subscription>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetSubscriptionResponse : The response schema for the getSubscription operation.
Fields§
§payload: Option<Box<Subscription>>§errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl GetSubscriptionResponse
impl GetSubscriptionResponse
Sourcepub fn new() -> GetSubscriptionResponse
pub fn new() -> GetSubscriptionResponse
The response schema for the getSubscription operation.
Trait Implementations§
Source§impl Clone for GetSubscriptionResponse
impl Clone for GetSubscriptionResponse
Source§fn clone(&self) -> GetSubscriptionResponse
fn clone(&self) -> GetSubscriptionResponse
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 GetSubscriptionResponse
impl Debug for GetSubscriptionResponse
Source§impl Default for GetSubscriptionResponse
impl Default for GetSubscriptionResponse
Source§fn default() -> GetSubscriptionResponse
fn default() -> GetSubscriptionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSubscriptionResponse
impl<'de> Deserialize<'de> for GetSubscriptionResponse
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 GetSubscriptionResponse
impl PartialEq for GetSubscriptionResponse
Source§impl Serialize for GetSubscriptionResponse
impl Serialize for GetSubscriptionResponse
impl StructuralPartialEq for GetSubscriptionResponse
Auto Trait Implementations§
impl Freeze for GetSubscriptionResponse
impl RefUnwindSafe for GetSubscriptionResponse
impl Send for GetSubscriptionResponse
impl Sync for GetSubscriptionResponse
impl Unpin for GetSubscriptionResponse
impl UnwindSafe for GetSubscriptionResponse
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