pub enum Api {
Ok(Value),
Missing,
Failed(String),
}Expand description
One read-only forge API answer.
Variants§
Ok(Value)
The call succeeded and parsed.
Missing
The forge answered 404.
Failed(String)
The call failed for another reason, with the CLI’s own words.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Api
impl Freeze for Api
impl Move for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnsafeUnpin for Api
impl UnwindSafe for Api
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