pub struct SignalPost {
pub token: String,
pub mission_id: String,
pub run_id: String,
pub signal: HookSignal,
pub detail: Option<String>,
}Expand description
The JSON body kranz hook-status POSTs (and the endpoint consumes).
Kept in the engine so the relay and the server share one wire shape.
Fields§
§token: String§mission_id: String§run_id: String§signal: HookSignal§detail: Option<String>Trait Implementations§
Source§impl Clone for SignalPost
impl Clone for SignalPost
Source§fn clone(&self) -> SignalPost
fn clone(&self) -> SignalPost
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 SignalPost
impl Debug for SignalPost
Source§impl<'de> Deserialize<'de> for SignalPost
impl<'de> Deserialize<'de> for SignalPost
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 SignalPost
impl RefUnwindSafe for SignalPost
impl Send for SignalPost
impl Sync for SignalPost
impl Unpin for SignalPost
impl UnsafeUnpin for SignalPost
impl UnwindSafe for SignalPost
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