pub struct ListObservationsResult {
pub observations: Vec<Observation>,
pub next_cursor: Option<String>,
}Expand description
Domain types re-exported from kindling_types so the daemon client is a
self-contained SDK: depend on kindling-client alone and reach every type
the API sends or returns as kindling_client::<Type>. kindling-types
stays an internal transitive dependency you never have to name.
One page of observations in stable (ts ASC, id ASC) order.
Fields§
§observations: Vec<Observation>The matching observations for this page.
next_cursor: Option<String>Present iff more rows remain — pass it back as cursor to fetch the next
page. Absent means enumeration is complete (the completeness signal a
consumer needs for an exact count / set-difference).
Trait Implementations§
Source§impl Clone for ListObservationsResult
impl Clone for ListObservationsResult
Source§fn clone(&self) -> ListObservationsResult
fn clone(&self) -> ListObservationsResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListObservationsResult
impl Debug for ListObservationsResult
Source§impl<'de> Deserialize<'de> for ListObservationsResult
impl<'de> Deserialize<'de> for ListObservationsResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListObservationsResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListObservationsResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListObservationsResult
impl PartialEq for ListObservationsResult
Source§fn eq(&self, other: &ListObservationsResult) -> bool
fn eq(&self, other: &ListObservationsResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListObservationsResult
impl Serialize for ListObservationsResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ListObservationsResult
Auto Trait Implementations§
impl Freeze for ListObservationsResult
impl RefUnwindSafe for ListObservationsResult
impl Send for ListObservationsResult
impl Sync for ListObservationsResult
impl Unpin for ListObservationsResult
impl UnsafeUnpin for ListObservationsResult
impl UnwindSafe for ListObservationsResult
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