pub struct GetElementByRelationBuilder { /* private fields */ }Expand description
Builder for GetElementByRelation.
Implementations§
Source§impl GetElementByRelationBuilder
impl GetElementByRelationBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Id of the node from which to query the relation.
Sourcepub fn relation<VALUE: Into<GetElementByRelationRelationOption>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn relation<VALUE: Into<GetElementByRelationRelationOption>>( &mut self, value: VALUE, ) -> &mut Self
Type of relation to get.
Sourcepub fn build(
&self,
) -> Result<GetElementByRelation, GetElementByRelationBuilderError>
pub fn build( &self, ) -> Result<GetElementByRelation, GetElementByRelationBuilderError>
Trait Implementations§
Source§impl Clone for GetElementByRelationBuilder
impl Clone for GetElementByRelationBuilder
Source§fn clone(&self) -> GetElementByRelationBuilder
fn clone(&self) -> GetElementByRelationBuilder
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 GetElementByRelationBuilder
impl RefUnwindSafe for GetElementByRelationBuilder
impl Send for GetElementByRelationBuilder
impl Sync for GetElementByRelationBuilder
impl Unpin for GetElementByRelationBuilder
impl UnsafeUnpin for GetElementByRelationBuilder
impl UnwindSafe for GetElementByRelationBuilder
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