pub struct SyncEntitiesResponse {
pub items: Vec<SyncEntityItem>,
pub next_version: u64,
pub has_more: bool,
pub min_version: Option<u64>,
}Expand description
实体同步响应
Fields§
§items: Vec<SyncEntityItem>§next_version: u64本次同步完成后的最新版本号,客户端下次请求 since_version
has_more: bool是否还有更多数据
min_version: Option<u64>可选:客户端过旧时服务端返回最小支持版本,触发全量
Trait Implementations§
Source§impl Clone for SyncEntitiesResponse
impl Clone for SyncEntitiesResponse
Source§fn clone(&self) -> SyncEntitiesResponse
fn clone(&self) -> SyncEntitiesResponse
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 SyncEntitiesResponse
impl Debug for SyncEntitiesResponse
Source§impl<'de> Deserialize<'de> for SyncEntitiesResponse
impl<'de> Deserialize<'de> for SyncEntitiesResponse
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
Auto Trait Implementations§
impl Freeze for SyncEntitiesResponse
impl RefUnwindSafe for SyncEntitiesResponse
impl Send for SyncEntitiesResponse
impl Sync for SyncEntitiesResponse
impl Unpin for SyncEntitiesResponse
impl UnsafeUnpin for SyncEntitiesResponse
impl UnwindSafe for SyncEntitiesResponse
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