#[non_exhaustive]pub struct KnowledgeTraverseRequest {
pub start: String,
pub depth: Option<usize>,
pub fanout: Option<usize>,
pub as_of: Option<String>,
pub valid_at: Option<String>,
pub source_ids: Option<Vec<String>>,
pub collections: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start: String§depth: Option<usize>§fanout: Option<usize>§as_of: Option<String>§valid_at: Option<String>§source_ids: Option<Vec<String>>§collections: Option<Vec<String>>Implementations§
Source§impl KnowledgeTraverseRequest
impl KnowledgeTraverseRequest
pub fn new(start: impl Into<String>) -> Self
pub fn depth(self, depth: usize) -> Self
pub fn fanout(self, fanout: usize) -> Self
pub fn as_of(self, as_of: impl Into<String>) -> Self
pub fn valid_at(self, valid_at: impl Into<String>) -> Self
pub fn source_ids(self, source_ids: Vec<String>) -> Self
pub fn collections(self, collections: Vec<String>) -> Self
Trait Implementations§
Source§impl Clone for KnowledgeTraverseRequest
impl Clone for KnowledgeTraverseRequest
Auto Trait Implementations§
impl Forget for KnowledgeTraverseRequest
impl Freeze for KnowledgeTraverseRequest
impl Move for KnowledgeTraverseRequest
impl RefUnwindSafe for KnowledgeTraverseRequest
impl Send for KnowledgeTraverseRequestwhere
RawVecInner: Send,
impl Sync for KnowledgeTraverseRequestwhere
RawVecInner: Sync,
impl Unpin for KnowledgeTraverseRequest
impl UnsafeUnpin for KnowledgeTraverseRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for KnowledgeTraverseRequestwhere
RawVecInner: UnwindSafe,
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