pub struct LiveEffect {Show 13 fields
pub step: String,
pub instance: Vec<String>,
pub target: u32,
pub role: AttemptRole,
pub attempt_id: String,
pub backend_id: String,
pub artifact: ArtifactId,
pub request: RequestId,
pub presented: ContentDigest,
pub exposure: Exposure,
pub remaining_ms: u64,
pub authorization: AuthorizationOutcome,
pub dispatch: Dispatch,
}Expand description
One proposed external attempt of the new decision: what was presented, the host’s answer, and the effect. Every attempted effect is attributable to the new decision by its attempt id (spec 026, 3.6).
Fields§
§step: String§instance: Vec<String>§target: u32§role: AttemptRole§attempt_id: String§backend_id: String§artifact: ArtifactId§request: RequestId§presented: ContentDigestThe digest of the request the host was asked about.
exposure: Exposure§remaining_ms: u64§dispatch: DispatchTrait Implementations§
Source§impl Clone for LiveEffect
impl Clone for LiveEffect
Source§impl Debug for LiveEffect
impl Debug for LiveEffect
Source§impl<'de> Deserialize<'de> for LiveEffect
impl<'de> Deserialize<'de> for LiveEffect
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
impl Eq for LiveEffect
Source§impl JsonSchema for LiveEffect
impl JsonSchema for LiveEffect
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LiveEffect
impl PartialEq for LiveEffect
Source§impl Serialize for LiveEffect
impl Serialize for LiveEffect
impl StructuralPartialEq for LiveEffect
Auto Trait Implementations§
impl Freeze for LiveEffect
impl RefUnwindSafe for LiveEffect
impl Send for LiveEffect
impl Sync for LiveEffect
impl Unpin for LiveEffect
impl UnsafeUnpin for LiveEffect
impl UnwindSafe for LiveEffect
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