pub struct UpdateRelationBuilder<'a> { /* private fields */ }Expand description
Builder for UpdateRelation operations.
Implementations§
Source§impl<'a> UpdateRelationBuilder<'a>
impl<'a> UpdateRelationBuilder<'a>
Sourcepub fn set_from_space(self, space_id: Id) -> Self
pub fn set_from_space(self, space_id: Id) -> Self
Sets the from_space pin.
Sourcepub fn set_from_version(self, version_id: Id) -> Self
pub fn set_from_version(self, version_id: Id) -> Self
Sets the from_version pin.
Sourcepub fn set_to_space(self, space_id: Id) -> Self
pub fn set_to_space(self, space_id: Id) -> Self
Sets the to_space pin.
Sourcepub fn set_to_version(self, version_id: Id) -> Self
pub fn set_to_version(self, version_id: Id) -> Self
Sets the to_version pin.
Sourcepub fn set_position(self, pos: impl Into<Cow<'a, str>>) -> Self
pub fn set_position(self, pos: impl Into<Cow<'a, str>>) -> Self
Sets the position for ordering.
Sourcepub fn unset_from_space(self) -> Self
pub fn unset_from_space(self) -> Self
Unsets the from_space pin.
Sourcepub fn unset_from_version(self) -> Self
pub fn unset_from_version(self) -> Self
Unsets the from_version pin.
Sourcepub fn unset_to_space(self) -> Self
pub fn unset_to_space(self) -> Self
Unsets the to_space pin.
Sourcepub fn unset_to_version(self) -> Self
pub fn unset_to_version(self) -> Self
Unsets the to_version pin.
Sourcepub fn unset_position(self) -> Self
pub fn unset_position(self) -> Self
Unsets the position.
Trait Implementations§
Source§impl<'a> Clone for UpdateRelationBuilder<'a>
impl<'a> Clone for UpdateRelationBuilder<'a>
Source§fn clone(&self) -> UpdateRelationBuilder<'a>
fn clone(&self) -> UpdateRelationBuilder<'a>
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<'a> Freeze for UpdateRelationBuilder<'a>
impl<'a> RefUnwindSafe for UpdateRelationBuilder<'a>
impl<'a> Send for UpdateRelationBuilder<'a>
impl<'a> Sync for UpdateRelationBuilder<'a>
impl<'a> Unpin for UpdateRelationBuilder<'a>
impl<'a> UnwindSafe for UpdateRelationBuilder<'a>
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