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