pub struct GitCloneRequest {
pub url: String,
pub path: String,
pub branch: Option<String>,
pub depth: Option<u32>,
pub auth_token: Option<String>,
pub ssh_key: Option<String>,
}Expand description
Git clone request
Fields§
§url: String§path: String§branch: Option<String>§depth: Option<u32>§auth_token: Option<String>§ssh_key: Option<String>Trait Implementations§
Source§impl Clone for GitCloneRequest
impl Clone for GitCloneRequest
Source§fn clone(&self) -> GitCloneRequest
fn clone(&self) -> GitCloneRequest
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 moreSource§impl Debug for GitCloneRequest
impl Debug for GitCloneRequest
Source§impl<'de> Deserialize<'de> for GitCloneRequest
impl<'de> Deserialize<'de> for GitCloneRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GitCloneRequest
impl RefUnwindSafe for GitCloneRequest
impl Send for GitCloneRequest
impl Sync for GitCloneRequest
impl Unpin for GitCloneRequest
impl UnwindSafe for GitCloneRequest
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