pub enum MessagingSubscribeReceivedRequestDataSince {
FromStart,
Latest,
Marker(HistoryMarker),
}Expand description
MessagingSubscribeReceivedRequestDataSince
JSON schema
{
"default": {
"type": "latest"
},
"anyOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"const": "from_start"
}
}
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"const": "latest"
}
}
},
{
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"const": "marker"
},
"value": {
"$ref": "#/definitions/historyMarker"
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for MessagingSubscribeReceivedRequestDataSince
impl Clone for MessagingSubscribeReceivedRequestDataSince
Source§fn clone(&self) -> MessagingSubscribeReceivedRequestDataSince
fn clone(&self) -> MessagingSubscribeReceivedRequestDataSince
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<'de> Deserialize<'de> for MessagingSubscribeReceivedRequestDataSince
impl<'de> Deserialize<'de> for MessagingSubscribeReceivedRequestDataSince
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<HistoryMarker> for MessagingSubscribeReceivedRequestDataSince
impl From<HistoryMarker> for MessagingSubscribeReceivedRequestDataSince
Source§fn from(value: HistoryMarker) -> Self
fn from(value: HistoryMarker) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MessagingSubscribeReceivedRequestDataSince
impl RefUnwindSafe for MessagingSubscribeReceivedRequestDataSince
impl Send for MessagingSubscribeReceivedRequestDataSince
impl Sync for MessagingSubscribeReceivedRequestDataSince
impl Unpin for MessagingSubscribeReceivedRequestDataSince
impl UnsafeUnpin for MessagingSubscribeReceivedRequestDataSince
impl UnwindSafe for MessagingSubscribeReceivedRequestDataSince
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