pub struct ScrapeResponse {
pub job_id: String,
pub status: String,
pub targets: i32,
pub request_id: String,
}Expand description
Response from submitting a scrape job.
Fields§
§job_id: StringJob identifier for polling.
status: StringInitial status.
targets: i32Number of targets submitted.
request_id: StringUnique request identifier.
Trait Implementations§
Source§impl Clone for ScrapeResponse
impl Clone for ScrapeResponse
Source§fn clone(&self) -> ScrapeResponse
fn clone(&self) -> ScrapeResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 ScrapeResponse
impl Debug for ScrapeResponse
Source§impl<'de> Deserialize<'de> for ScrapeResponse
impl<'de> Deserialize<'de> for ScrapeResponse
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 ScrapeResponse
impl RefUnwindSafe for ScrapeResponse
impl Send for ScrapeResponse
impl Sync for ScrapeResponse
impl Unpin for ScrapeResponse
impl UnsafeUnpin for ScrapeResponse
impl UnwindSafe for ScrapeResponse
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