pub struct EgoParams {
pub seeds: Vec<NodeId>,
pub query: Option<String>,
pub query_k: usize,
pub max_hops: u8,
pub direction: Direction,
pub edge_types: Option<Vec<SmolStr>>,
pub as_of: Option<i64>,
pub time_axis: TimeAxis,
}Expand description
Parameters for ego snapshot building.
Fields§
§seeds: Vec<NodeId>§query: Option<String>§query_k: usize§max_hops: u8§direction: Direction§edge_types: Option<Vec<SmolStr>>§as_of: Option<i64>§time_axis: TimeAxisTrait Implementations§
Auto Trait Implementations§
impl Freeze for EgoParams
impl RefUnwindSafe for EgoParams
impl Send for EgoParams
impl Sync for EgoParams
impl Unpin for EgoParams
impl UnsafeUnpin for EgoParams
impl UnwindSafe for EgoParams
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