pub struct UpsertSubscriptionBody {
pub level: String,
}Expand description
UpsertSubscriptionBody
JSON schema
{
"type": "object",
"required": [
"level"
],
"properties": {
"level": {
"description": "One of: `watching`, `participating`, `ignore`.",
"type": "string"
}
}
}Fields§
§level: StringOne of: watching, participating, ignore.
Implementations§
Source§impl UpsertSubscriptionBody
impl UpsertSubscriptionBody
pub fn builder() -> UpsertSubscriptionBody
Trait Implementations§
Source§impl Clone for UpsertSubscriptionBody
impl Clone for UpsertSubscriptionBody
Source§fn clone(&self) -> UpsertSubscriptionBody
fn clone(&self) -> UpsertSubscriptionBody
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 UpsertSubscriptionBody
impl Debug for UpsertSubscriptionBody
Source§impl<'de> Deserialize<'de> for UpsertSubscriptionBody
impl<'de> Deserialize<'de> for UpsertSubscriptionBody
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 From<&UpsertSubscriptionBody> for UpsertSubscriptionBody
impl From<&UpsertSubscriptionBody> for UpsertSubscriptionBody
Source§fn from(value: &UpsertSubscriptionBody) -> Self
fn from(value: &UpsertSubscriptionBody) -> Self
Converts to this type from the input type.
Source§impl From<UpsertSubscriptionBody> for UpsertSubscriptionBody
impl From<UpsertSubscriptionBody> for UpsertSubscriptionBody
Source§fn from(value: UpsertSubscriptionBody) -> Self
fn from(value: UpsertSubscriptionBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for UpsertSubscriptionBody
impl Serialize for UpsertSubscriptionBody
Source§impl TryFrom<UpsertSubscriptionBody> for UpsertSubscriptionBody
impl TryFrom<UpsertSubscriptionBody> for UpsertSubscriptionBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpsertSubscriptionBody) -> Result<Self, ConversionError>
fn try_from(value: UpsertSubscriptionBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpsertSubscriptionBody
impl RefUnwindSafe for UpsertSubscriptionBody
impl Send for UpsertSubscriptionBody
impl Sync for UpsertSubscriptionBody
impl Unpin for UpsertSubscriptionBody
impl UnsafeUnpin for UpsertSubscriptionBody
impl UnwindSafe for UpsertSubscriptionBody
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