pub struct PageSnapshot {
pub project_key: String,
pub page_key: String,
pub page_index: i32,
pub page_name: String,
pub mode: String,
pub updated_by_user_id: String,
pub updated_by_display_name: String,
pub updated_at: i64,
pub units: Vec<Value>,
}Expand description
页面整页快照
Fields§
§project_key: String项目键
page_key: String页面键
page_index: i32页面序号
page_name: String页面名称
mode: String编辑模式
updated_by_user_id: String更新者用户 ID
updated_by_display_name: String更新者展示名称
updated_at: i64更新时间戳(毫秒)
units: Vec<Value>页面翻校单元快照(透传 JSON)
Trait Implementations§
Source§impl Clone for PageSnapshot
impl Clone for PageSnapshot
Source§fn clone(&self) -> PageSnapshot
fn clone(&self) -> PageSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PageSnapshot
impl Debug for PageSnapshot
Source§impl Default for PageSnapshot
impl Default for PageSnapshot
Source§fn default() -> PageSnapshot
fn default() -> PageSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageSnapshotwhere
PageSnapshot: Default,
impl<'de> Deserialize<'de> for PageSnapshotwhere
PageSnapshot: Default,
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 PageSnapshot
impl RefUnwindSafe for PageSnapshot
impl Send for PageSnapshot
impl Sync for PageSnapshot
impl Unpin for PageSnapshot
impl UnsafeUnpin for PageSnapshot
impl UnwindSafe for PageSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request