Struct gorrosion_gtp::messages::Response
source · pub struct Response {
id: Option<Int>,
success: bool,
content: MultilineList,
}
Expand description
A response that can be sent to some controller via write_gtp
,
ideally matching a previously received command.
Bring your own controller.
Fields
id: Option<Int>
success: bool
content: MultilineList
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more