pub struct GraphExportConfig {
pub ignore_disconnected_components: bool,
pub ignore_non_opened_channels: bool,
pub only_3_hop_accessible_nodes: bool,
}Expand description
Configuration for the DOT export of the ChannelGraph.
See ChannelGraph::as_dot.
Fields§
§ignore_disconnected_components: boolIf set, nodes that are not connected to this node (via open channels) will not be exported.
This setting automatically implies ignore_non_opened_channels.
ignore_non_opened_channels: boolDo not export channels that are not in the [ChannelStatus::Open] state.
only_3_hop_accessible_nodes: boolShow only nodes that are accessible via 3-hops (via open channels) from this node.
Trait Implementations§
Source§impl Clone for GraphExportConfig
impl Clone for GraphExportConfig
Source§fn clone(&self) -> GraphExportConfig
fn clone(&self) -> GraphExportConfig
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 moreSource§impl Debug for GraphExportConfig
impl Debug for GraphExportConfig
Source§impl Default for GraphExportConfig
impl Default for GraphExportConfig
Source§fn default() -> GraphExportConfig
fn default() -> GraphExportConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for GraphExportConfig
impl PartialEq for GraphExportConfig
impl Eq for GraphExportConfig
impl StructuralPartialEq for GraphExportConfig
Auto Trait Implementations§
impl Freeze for GraphExportConfig
impl RefUnwindSafe for GraphExportConfig
impl Send for GraphExportConfig
impl Sync for GraphExportConfig
impl Unpin for GraphExportConfig
impl UnwindSafe for GraphExportConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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