pub struct ApprovalResolutionDto {
pub approval_id: String,
pub status: ApprovalStatus,
pub scope: Option<ApprovalScope>,
pub resolved_by: Option<String>,
}Expand description
Approval resolve 结果。
Fields§
§approval_id: Stringapproval id
status: ApprovalStatus最终状态
scope: Option<ApprovalScope>生效 scope(approve 时有值)
resolved_by: Option<String>谁 resolve 的
Trait Implementations§
Source§impl Clone for ApprovalResolutionDto
impl Clone for ApprovalResolutionDto
Source§fn clone(&self) -> ApprovalResolutionDto
fn clone(&self) -> ApprovalResolutionDto
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 ApprovalResolutionDto
impl Debug for ApprovalResolutionDto
Source§impl<'de> Deserialize<'de> for ApprovalResolutionDto
impl<'de> Deserialize<'de> for ApprovalResolutionDto
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 ApprovalResolutionDto
impl RefUnwindSafe for ApprovalResolutionDto
impl Send for ApprovalResolutionDto
impl Sync for ApprovalResolutionDto
impl Unpin for ApprovalResolutionDto
impl UnsafeUnpin for ApprovalResolutionDto
impl UnwindSafe for ApprovalResolutionDto
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