pub struct BoundedChainResult {
pub task_ids: Vec<String>,
pub truncated: bool,
}Expand description
Result of a bounded chain traversal.
Fields§
§task_ids: Vec<String>Task IDs collected during traversal (at most limit items).
truncated: boolTrue if there were more tasks available beyond the limit.
Implementations§
Source§impl BoundedChainResult
impl BoundedChainResult
Sourcepub fn from_full_chain(chain: Vec<String>, limit: usize) -> Self
pub fn from_full_chain(chain: Vec<String>, limit: usize) -> Self
Create a bounded result from a full chain, truncating to limit.
Trait Implementations§
Source§impl Clone for BoundedChainResult
impl Clone for BoundedChainResult
Source§fn clone(&self) -> BoundedChainResult
fn clone(&self) -> BoundedChainResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BoundedChainResult
impl RefUnwindSafe for BoundedChainResult
impl Send for BoundedChainResult
impl Sync for BoundedChainResult
impl Unpin for BoundedChainResult
impl UnsafeUnpin for BoundedChainResult
impl UnwindSafe for BoundedChainResult
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