pub struct InterGraphLinkBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> InterGraphLinkBuilder<S>
impl<S: State> InterGraphLinkBuilder<S>
Sourcepub fn build(self) -> InterGraphLinkwhere
S: IsComplete,
pub fn build(self) -> InterGraphLinkwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: BString) -> InterGraphLinkBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: BString) -> InterGraphLinkBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn source_graph(
self,
value: BString,
) -> InterGraphLinkBuilder<SetSourceGraph<S>>where
S::SourceGraph: IsUnset,
pub fn source_graph(
self,
value: BString,
) -> InterGraphLinkBuilder<SetSourceGraph<S>>where
S::SourceGraph: IsUnset,
Required.
Sourcepub fn source_element(
self,
value: BString,
) -> InterGraphLinkBuilder<SetSourceElement<S>>where
S::SourceElement: IsUnset,
pub fn source_element(
self,
value: BString,
) -> InterGraphLinkBuilder<SetSourceElement<S>>where
S::SourceElement: IsUnset,
Required.
Sourcepub fn target_graph(
self,
value: BString,
) -> InterGraphLinkBuilder<SetTargetGraph<S>>where
S::TargetGraph: IsUnset,
pub fn target_graph(
self,
value: BString,
) -> InterGraphLinkBuilder<SetTargetGraph<S>>where
S::TargetGraph: IsUnset,
Required.
Sourcepub fn target_element(
self,
value: BString,
) -> InterGraphLinkBuilder<SetTargetElement<S>>where
S::TargetElement: IsUnset,
pub fn target_element(
self,
value: BString,
) -> InterGraphLinkBuilder<SetTargetElement<S>>where
S::TargetElement: IsUnset,
Required.
Sourcepub fn link_type(self, value: BString) -> InterGraphLinkBuilder<SetLinkType<S>>where
S::LinkType: IsUnset,
pub fn link_type(self, value: BString) -> InterGraphLinkBuilder<SetLinkType<S>>where
S::LinkType: IsUnset,
Required.
Sourcepub fn attributes(
self,
value: HashMap<BString, Attribute>,
) -> InterGraphLinkBuilder<SetAttributes<S>>where
S::Attributes: IsUnset,
pub fn attributes(
self,
value: HashMap<BString, Attribute>,
) -> InterGraphLinkBuilder<SetAttributes<S>>where
S::Attributes: IsUnset,
Sourcepub fn maybe_attributes(
self,
value: Option<HashMap<BString, Attribute>>,
) -> InterGraphLinkBuilder<SetAttributes<S>>where
S::Attributes: IsUnset,
pub fn maybe_attributes(
self,
value: Option<HashMap<BString, Attribute>>,
) -> InterGraphLinkBuilder<SetAttributes<S>>where
S::Attributes: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for InterGraphLinkBuilder<S>
impl<S> RefUnwindSafe for InterGraphLinkBuilder<S>
impl<S> Send for InterGraphLinkBuilder<S>
impl<S> Sync for InterGraphLinkBuilder<S>
impl<S> Unpin for InterGraphLinkBuilder<S>
impl<S> UnwindSafe for InterGraphLinkBuilder<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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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