pub struct GetContextPathUseCase<G, D, S> { /* private fields */ }Implementations§
Source§impl<G, D, S> GetContextPathUseCase<G, D, S>where
G: GraphNeighborhoodReader + Send + Sync,
D: NodeDetailReader + Send + Sync,
S: SnapshotStore + Send + Sync,
impl<G, D, S> GetContextPathUseCase<G, D, S>where
G: GraphNeighborhoodReader + Send + Sync,
D: NodeDetailReader + Send + Sync,
S: SnapshotStore + Send + Sync,
pub fn new( graph_reader: G, detail_reader: D, snapshot_store: S, generator_version: &'static str, ) -> Self
pub async fn execute( &self, root_node_id: &str, target_node_id: &str, role: &str, subtree_depth: Option<u32>, render_options: &ContextRenderOptions, ) -> Result<GetContextPathResult, ApplicationError>
Trait Implementations§
Auto Trait Implementations§
impl<G, D, S> Freeze for GetContextPathUseCase<G, D, S>
impl<G, D, S> RefUnwindSafe for GetContextPathUseCase<G, D, S>
impl<G, D, S> Send for GetContextPathUseCase<G, D, S>
impl<G, D, S> Sync for GetContextPathUseCase<G, D, S>
impl<G, D, S> Unpin for GetContextPathUseCase<G, D, S>
impl<G, D, S> UnsafeUnpin for GetContextPathUseCase<G, D, S>
impl<G, D, S> UnwindSafe for GetContextPathUseCase<G, D, S>
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