[−][src]Struct extrahop::activitymap::Response
A successful response to a single topology API request.
Fields
warnings: Vec<Error>
Non-fatal errors encountered during the construction of the map. Items in this list indicate that the returned topology may be incomplete.
from: u64
The absolute UTC packet time at which data starts for the response, in milliseconds since epoch.
until: u64
The absolute UTC packet time at which data ends for the response, in milliseconds since epoch.
edges: Vec<Edge>
The collection of edges which matched the activity map query.
Methods
impl Response
[src]
pub fn nodes(&self) -> HashSet<Oid>
[src]
Computes the set of nodes in the response.
pub fn iter<'a>(&'a self) -> Iter<'a, Edge>
[src]
Gets a slice iterator over the edges
pub fn is_complete(&self) -> bool
[src]
Checks that there are no warnings which indicate an incomplete response from the appliance.
Trait Implementations
impl IntoIterator for Response
[src]
type Item = Edge
The type of the elements being iterated over.
type IntoIter = IntoIter<Edge>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a Response
[src]
type Item = &'a Edge
The type of the elements being iterated over.
type IntoIter = Iter<'a, Edge>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl Clone for Response
[src]
fn clone(&self) -> Response
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Response
[src]
impl From<Response> for Graph<Oid, Edge>
[src]
impl Debug for Response
[src]
impl Serialize for Response
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Response where
Response: Default,
[src]
Response: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,