pub struct ContextNeighborsResponse {
pub neighbors: Option<ContextNeighbors>,
pub hit: bool,
pub reason: Option<ContextMissReason>,
pub next_step: Option<ContextNextStep>,
}Expand description
Response from GET /v1/context/neighbors.
Fields§
§neighbors: Option<ContextNeighbors>§hit: bool§reason: Option<ContextMissReason>§next_step: Option<ContextNextStep>Implementations§
Source§impl ContextNeighborsResponse
impl ContextNeighborsResponse
pub fn page_derived(&self) -> bool
Trait Implementations§
Source§impl Clone for ContextNeighborsResponse
impl Clone for ContextNeighborsResponse
Source§impl Debug for ContextNeighborsResponse
impl Debug for ContextNeighborsResponse
Source§impl<'de> Deserialize<'de> for ContextNeighborsResponse
impl<'de> Deserialize<'de> for ContextNeighborsResponse
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContextNeighborsResponse
impl PartialEq for ContextNeighborsResponse
Source§impl Serialize for ContextNeighborsResponse
impl Serialize for ContextNeighborsResponse
impl StructuralPartialEq for ContextNeighborsResponse
Auto Trait Implementations§
impl Freeze for ContextNeighborsResponse
impl RefUnwindSafe for ContextNeighborsResponse
impl Send for ContextNeighborsResponse
impl Sync for ContextNeighborsResponse
impl Unpin for ContextNeighborsResponse
impl UnsafeUnpin for ContextNeighborsResponse
impl UnwindSafe for ContextNeighborsResponse
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