pub struct PullRequest {
pub epoch: String,
pub version: u64,
pub schema: u32,
pub limit: u32,
pub resume: Option<String>,
}Expand description
The request the node sends an app’s pull capability:
{"e":"k3f9a2c1","v":41,"s":1,"l":500} plus "a" when resuming a paged
full copy.
Fields§
§epoch: StringThe epoch the caller holds; "" when it holds nothing.
version: u64The version the caller holds.
schema: u32The schema number: the N of the consumer’s .vN.
limit: u32The most rows to return (at most 500).
resume: Option<String>The last key of the previous page of a paged full copy.
Implementations§
Trait Implementations§
Source§impl Clone for PullRequest
impl Clone for PullRequest
Source§impl Debug for PullRequest
impl Debug for PullRequest
Source§impl<'de> Deserialize<'de> for PullRequest
impl<'de> Deserialize<'de> for PullRequest
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 Eq for PullRequest
Source§impl PartialEq for PullRequest
impl PartialEq for PullRequest
Source§impl Serialize for PullRequest
impl Serialize for PullRequest
impl StructuralPartialEq for PullRequest
Auto Trait Implementations§
impl Forget for PullRequest
impl Freeze for PullRequest
impl Move for PullRequest
impl RefUnwindSafe for PullRequest
impl Send for PullRequestwhere
RawVecInner: Send,
impl Sync for PullRequestwhere
RawVecInner: Sync,
impl Unpin for PullRequest
impl UnsafeUnpin for PullRequest
impl UnwindSafe for PullRequestwhere
RawVecInner: UnwindSafe,
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