pub struct SetRemoteLocationsBuilder { /* private fields */ }Expand description
Builder for SetRemoteLocations.
Implementations§
Source§impl SetRemoteLocationsBuilder
impl SetRemoteLocationsBuilder
Sourcepub fn locations<VALUE: Into<Vec<RemoteLocation>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn locations<VALUE: Into<Vec<RemoteLocation>>>( &mut self, value: VALUE, ) -> &mut Self
List of remote locations.
Sourcepub fn build(
&self,
) -> Result<SetRemoteLocations, SetRemoteLocationsBuilderError>
pub fn build( &self, ) -> Result<SetRemoteLocations, SetRemoteLocationsBuilderError>
Trait Implementations§
Source§impl Clone for SetRemoteLocationsBuilder
impl Clone for SetRemoteLocationsBuilder
Source§fn clone(&self) -> SetRemoteLocationsBuilder
fn clone(&self) -> SetRemoteLocationsBuilder
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 SetRemoteLocationsBuilder
impl RefUnwindSafe for SetRemoteLocationsBuilder
impl Send for SetRemoteLocationsBuilder
impl Sync for SetRemoteLocationsBuilder
impl Unpin for SetRemoteLocationsBuilder
impl UnsafeUnpin for SetRemoteLocationsBuilder
impl UnwindSafe for SetRemoteLocationsBuilder
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