Struct steward::net::HttpService
source · pub struct HttpService {
pub tag: String,
pub addr: Uri,
pub method: HttpMethod,
pub timeout: Duration,
}
Expand description
HTTP service.
Fields§
§tag: String
A tag used as an identificator of the dependency in the output.
addr: Uri
Service address.
method: HttpMethod
HTTP method.
timeout: Duration
Service wait timeout.
Implementations§
source§impl HttpService
impl HttpService
Trait Implementations§
source§impl Dependency for HttpService
impl Dependency for HttpService
source§fn tag(&self) -> &str
fn tag(&self) -> &str
A tag used as an identificator in output when process runs as a part of a
ProcessPool
.Auto Trait Implementations§
impl !Freeze for HttpService
impl RefUnwindSafe for HttpService
impl Send for HttpService
impl Sync for HttpService
impl Unpin for HttpService
impl UnwindSafe for HttpService
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