pub struct ServiceActionResult {
pub action: String,
pub accepted: bool,
pub effective: bool,
pub message: String,
}Expand description
Response from POST /service?action=....
Fields§
§action: String§accepted: bool§effective: boolWhether the action takes real effect on this build (vs advisory only).
message: StringTrait Implementations§
Source§impl Clone for ServiceActionResult
impl Clone for ServiceActionResult
Source§fn clone(&self) -> ServiceActionResult
fn clone(&self) -> ServiceActionResult
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 ServiceActionResult
impl Debug for ServiceActionResult
Source§impl Default for ServiceActionResult
impl Default for ServiceActionResult
Source§fn default() -> ServiceActionResult
fn default() -> ServiceActionResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceActionResult
impl<'de> Deserialize<'de> for ServiceActionResult
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 ServiceActionResult
impl RefUnwindSafe for ServiceActionResult
impl Send for ServiceActionResult
impl Sync for ServiceActionResult
impl Unpin for ServiceActionResult
impl UnsafeUnpin for ServiceActionResult
impl UnwindSafe for ServiceActionResult
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