pub struct Task {
pub task_id: Uuid,
pub requester_info: RequesterInfo,
pub entity_id: Uuid,
pub task_type: TaskType,
pub status: TaskStatus,
pub description: Option<String>,
pub approvals: Vec<ApprovalInfo>,
pub domains_added: Option<Vec<String>>,
pub domains_removed: Option<Vec<String>>,
}
Fields
task_id: Uuid
Task Id
requester_info: RequesterInfo
entity_id: Uuid
app_id, build_id, node_id, cert_id are entity_id for app_domain_whitelisting, build_whitelisting, node_attestation and certificate_issuance respectively.
task_type: TaskType
status: TaskStatus
description: Option<String>
Task details
approvals: Vec<ApprovalInfo>
domains_added: Option<Vec<String>>
domains_removed: Option<Vec<String>>
Implementations
pub fn new(
task_id: Uuid,
requester_info: RequesterInfo,
entity_id: Uuid,
task_type: TaskType,
status: TaskStatus,
approvals: Vec<ApprovalInfo>
) -> Task
Trait Implementations
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 RefUnwindSafe for Task
impl UnwindSafe for Task
Blanket Implementations
Mutably borrows from an owned value. Read more