pub struct ServeArgs {
pub file_a: Option<PathBuf>,
pub file_b: Option<PathBuf>,
pub format_a: Option<InputFormat>,
pub format_b: Option<InputFormat>,
pub diff: Option<PathBuf>,
pub graph_a: Option<String>,
pub graph_b: Option<String>,
pub bind: String,
pub no_open: bool,
pub ignore_blank_nodes: bool,
}Expand description
Arguments accepted by rdf-compare serve.
Fields§
§file_a: Option<PathBuf>First (left) RDF file to preload.
file_b: Option<PathBuf>Second (right) RDF file to preload.
format_a: Option<InputFormat>Override input format for file A.
format_b: Option<InputFormat>Override input format for file B.
diff: Option<PathBuf>Pre-existing diff file (TriG or N-Quads) to load instead of recomputing.
graph_a: Option<String>Override the named-graph IRI for the A side.
graph_b: Option<String>Override the named-graph IRI for the B side.
bind: StringBind address for the web viewer.
no_open: boolDo not auto-open the system browser.
ignore_blank_nodes: boolSkip blank-node-bearing triples instead of canonicalising them.
Trait Implementations§
Source§impl Args for ServeArgs
impl Args for ServeArgs
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 FromArgMatches for ServeArgs
impl FromArgMatches for ServeArgs
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 ServeArgs
impl RefUnwindSafe for ServeArgs
impl Send for ServeArgs
impl Sync for ServeArgs
impl Unpin for ServeArgs
impl UnsafeUnpin for ServeArgs
impl UnwindSafe for ServeArgs
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