pub struct GetElementByRelationReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetElementByRelationReturnObject.
Implementations§
Source§impl GetElementByRelationReturnObjectBuilder
impl GetElementByRelationReturnObjectBuilder
Sourcepub fn node_id(&mut self, value: NodeId) -> &mut Self
pub fn node_id(&mut self, value: NodeId) -> &mut Self
NodeId of the element matching the queried relation.
Sourcepub fn build(
&self,
) -> Result<GetElementByRelationReturnObject, GetElementByRelationReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetElementByRelationReturnObject, GetElementByRelationReturnObjectBuilderError>
Builds a new GetElementByRelationReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GetElementByRelationReturnObjectBuilder
impl Clone for GetElementByRelationReturnObjectBuilder
Source§fn clone(&self) -> GetElementByRelationReturnObjectBuilder
fn clone(&self) -> GetElementByRelationReturnObjectBuilder
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 GetElementByRelationReturnObjectBuilder
impl RefUnwindSafe for GetElementByRelationReturnObjectBuilder
impl Send for GetElementByRelationReturnObjectBuilder
impl Sync for GetElementByRelationReturnObjectBuilder
impl Unpin for GetElementByRelationReturnObjectBuilder
impl UnsafeUnpin for GetElementByRelationReturnObjectBuilder
impl UnwindSafe for GetElementByRelationReturnObjectBuilder
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