pub struct VcsPluginResponse {
pub ok: bool,
pub result: Value,
pub error: Option<String>,
}Expand description
Response sent from a VCS plugin to TA over stdout.
One JSON line per response.
Fields§
§ok: boolWhether the operation succeeded.
result: ValueResult payload (structure depends on method; null on error).
error: Option<String>Human-readable error message (only set when ok=false).
Implementations§
Trait Implementations§
Source§impl Debug for VcsPluginResponse
impl Debug for VcsPluginResponse
Source§impl<'de> Deserialize<'de> for VcsPluginResponse
impl<'de> Deserialize<'de> for VcsPluginResponse
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 VcsPluginResponse
impl RefUnwindSafe for VcsPluginResponse
impl Send for VcsPluginResponse
impl Sync for VcsPluginResponse
impl Unpin for VcsPluginResponse
impl UnsafeUnpin for VcsPluginResponse
impl UnwindSafe for VcsPluginResponse
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