pub struct ScmBuilder { /* private fields */ }
Expand description
Builder for Scm
.
Implementations§
Source§impl ScmBuilder
impl ScmBuilder
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
URL should be formatted as scm:{provider}:{provider_specific}
pub fn connection<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn tag<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn developer_connection<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for ScmBuilder
impl Clone for ScmBuilder
Source§fn clone(&self) -> ScmBuilder
fn clone(&self) -> ScmBuilder
Returns a copy 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 ScmBuilder
impl RefUnwindSafe for ScmBuilder
impl Send for ScmBuilder
impl Sync for ScmBuilder
impl Unpin for ScmBuilder
impl UnwindSafe for ScmBuilder
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