pub struct QueryHistoryResponse {
pub entries: Vec<HistoryEntry>,
}Expand description
Response from query_history — the full ordered timeline for a subject-line.
Fields§
§entries: Vec<HistoryEntry>All claims for the subject-line, ordered by canonical ordering key (oldest first).
Implementations§
Source§impl QueryHistoryResponse
impl QueryHistoryResponse
Sourcepub fn current(&self) -> Option<&HistoryEntry>
pub fn current(&self) -> Option<&HistoryEntry>
Convenience: returns the single Current entry, if any.
Trait Implementations§
Source§impl Clone for QueryHistoryResponse
impl Clone for QueryHistoryResponse
Source§fn clone(&self) -> QueryHistoryResponse
fn clone(&self) -> QueryHistoryResponse
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 QueryHistoryResponse
impl Debug for QueryHistoryResponse
Source§impl<'de> Deserialize<'de> for QueryHistoryResponse
impl<'de> Deserialize<'de> for QueryHistoryResponse
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 QueryHistoryResponse
impl RefUnwindSafe for QueryHistoryResponse
impl Send for QueryHistoryResponse
impl Sync for QueryHistoryResponse
impl Unpin for QueryHistoryResponse
impl UnsafeUnpin for QueryHistoryResponse
impl UnwindSafe for QueryHistoryResponse
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