pub struct DeploymentEventWrapper {
pub event_type: String,
pub data: Value,
}Expand description
Wrapper for serializing deployment progress events as SSE.
Converts each DeploymentProgressEvent variant into an event_type string
and a JSON data payload, following the same pattern as BuildEventWrapper.
Fields§
§event_type: StringSSE event type (used as the event: field)
data: ValueJSON data payload
Trait Implementations§
Source§impl Clone for DeploymentEventWrapper
impl Clone for DeploymentEventWrapper
Source§fn clone(&self) -> DeploymentEventWrapper
fn clone(&self) -> DeploymentEventWrapper
Returns a duplicate of the value. Read more
1.0.0 · 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 DeploymentEventWrapper
impl Debug for DeploymentEventWrapper
Source§impl From<DeploymentProgressEvent> for DeploymentEventWrapper
impl From<DeploymentProgressEvent> for DeploymentEventWrapper
Source§fn from(event: DeploymentProgressEvent) -> Self
fn from(event: DeploymentProgressEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeploymentEventWrapper
impl RefUnwindSafe for DeploymentEventWrapper
impl Send for DeploymentEventWrapper
impl Sync for DeploymentEventWrapper
impl Unpin for DeploymentEventWrapper
impl UnsafeUnpin for DeploymentEventWrapper
impl UnwindSafe for DeploymentEventWrapper
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