pub struct ComputeHeadCursorRequest {
pub partition: Option<i64>,
}Expand description
Compute the current head cursor for a partition.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§partition: Option<i64>Required. The partition for which we should compute the head cursor.
Trait Implementations§
Source§impl Clone for ComputeHeadCursorRequest
impl Clone for ComputeHeadCursorRequest
Source§fn clone(&self) -> ComputeHeadCursorRequest
fn clone(&self) -> ComputeHeadCursorRequest
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 ComputeHeadCursorRequest
impl Debug for ComputeHeadCursorRequest
Source§impl Default for ComputeHeadCursorRequest
impl Default for ComputeHeadCursorRequest
Source§fn default() -> ComputeHeadCursorRequest
fn default() -> ComputeHeadCursorRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputeHeadCursorRequest
impl<'de> Deserialize<'de> for ComputeHeadCursorRequest
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 ComputeHeadCursorRequest
impl Serialize for ComputeHeadCursorRequest
impl RequestValue for ComputeHeadCursorRequest
Auto Trait Implementations§
impl Freeze for ComputeHeadCursorRequest
impl RefUnwindSafe for ComputeHeadCursorRequest
impl Send for ComputeHeadCursorRequest
impl Sync for ComputeHeadCursorRequest
impl Unpin for ComputeHeadCursorRequest
impl UnwindSafe for ComputeHeadCursorRequest
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