pub(crate) struct DetailedRelationLimitArgs {
pub(crate) depth: u32,
pub(crate) include_occurrences: bool,
pub(crate) occurrence_limit: u32,
pub(crate) edge_limit: Option<u32>,
pub(crate) node_limit: Option<u32>,
pub(crate) visited_limit: Option<u32>,
pub(crate) occurrence_total_limit: Option<u32>,
pub(crate) intermediate_bytes: Option<u64>,
pub(crate) deadline_ms: Option<u64>,
pub(crate) output_bytes: u32,
}Expand description
Traversal and output ceilings for detailed relation navigation.
Fields§
§depth: u32Maximum detailed traversal depth.
include_occurrences: boolRetain bounded exact source occurrences in detailed rows.
occurrence_limit: u32Maximum exact occurrences retained per detailed relation.
edge_limit: Option<u32>Maximum adjacency rows inspected across the complete request.
node_limit: Option<u32>Maximum unique traversal nodes retained across the complete request.
visited_limit: Option<u32>Maximum unique visited identities retained across continuation pages.
occurrence_total_limit: Option<u32>Maximum exact occurrences retained across the complete request.
intermediate_bytes: Option<u64>Maximum decoded, cursor, and service-composition intermediate bytes.
deadline_ms: Option<u64>Maximum service-owned elapsed milliseconds.
output_bytes: u32Maximum encoded bytes admitted to the detailed response.
Trait Implementations§
Source§impl Args for DetailedRelationLimitArgs
impl Args for DetailedRelationLimitArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for DetailedRelationLimitArgs
impl Debug for DetailedRelationLimitArgs
Source§impl FromArgMatches for DetailedRelationLimitArgs
impl FromArgMatches for DetailedRelationLimitArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for DetailedRelationLimitArgs
impl RefUnwindSafe for DetailedRelationLimitArgs
impl Send for DetailedRelationLimitArgs
impl Sync for DetailedRelationLimitArgs
impl Unpin for DetailedRelationLimitArgs
impl UnwindSafe for DetailedRelationLimitArgs
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more