pub struct ApprovalSummary {
pub approval_id: String,
pub session_id: String,
pub title: String,
pub summary: String,
pub status: ApprovalStatus,
pub expires_at: i64,
}Expand description
Approval 列表项(不含 effect vector,节省传输)。
Fields§
§approval_id: Stringapproval id
session_id: String所属 session
title: String标题
summary: String简述
status: ApprovalStatus状态
expires_at: i64到期 Unix 秒
Trait Implementations§
Source§impl Clone for ApprovalSummary
impl Clone for ApprovalSummary
Source§fn clone(&self) -> ApprovalSummary
fn clone(&self) -> ApprovalSummary
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 ApprovalSummary
impl Debug for ApprovalSummary
Source§impl<'de> Deserialize<'de> for ApprovalSummary
impl<'de> Deserialize<'de> for ApprovalSummary
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 From<&ApprovalRequest> for ApprovalSummary
impl From<&ApprovalRequest> for ApprovalSummary
Source§fn from(r: &ApprovalRequest) -> Self
fn from(r: &ApprovalRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApprovalSummary
impl RefUnwindSafe for ApprovalSummary
impl Send for ApprovalSummary
impl Sync for ApprovalSummary
impl Unpin for ApprovalSummary
impl UnsafeUnpin for ApprovalSummary
impl UnwindSafe for ApprovalSummary
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