pub struct PartitionCursor {
pub cursor: Option<Cursor>,
pub partition: Option<i64>,
}Expand description
A pair of a Cursor and the partition it is for.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cursor: Option<Cursor>The value of the cursor.
partition: Option<i64>The partition this is for.
Trait Implementations§
Source§impl Clone for PartitionCursor
impl Clone for PartitionCursor
Source§fn clone(&self) -> PartitionCursor
fn clone(&self) -> PartitionCursor
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 PartitionCursor
impl Debug for PartitionCursor
Source§impl Default for PartitionCursor
impl Default for PartitionCursor
Source§fn default() -> PartitionCursor
fn default() -> PartitionCursor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartitionCursor
impl<'de> Deserialize<'de> for PartitionCursor
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 Serialize for PartitionCursor
impl Serialize for PartitionCursor
impl Part for PartitionCursor
Auto Trait Implementations§
impl Freeze for PartitionCursor
impl RefUnwindSafe for PartitionCursor
impl Send for PartitionCursor
impl Sync for PartitionCursor
impl Unpin for PartitionCursor
impl UnwindSafe for PartitionCursor
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