pub struct ImportRequest {
pub repo: PathBuf,
pub branch: String,
pub from: Option<String>,
pub under: Option<String>,
}Expand description
Which branch to make reachable from an identity’s registered checkouts.
Fields§
§repo: PathBufThe repository to import into, as --repo takes one.
branch: StringThe branch to import.
from: Option<String>Where to take it from, or none to search the identity’s own locations.
under: Option<String>The name to write it under, or none to keep its own.
Trait Implementations§
Source§impl Clone for ImportRequest
impl Clone for ImportRequest
Source§impl Debug for ImportRequest
impl Debug for ImportRequest
impl Eq for ImportRequest
Source§impl PartialEq for ImportRequest
impl PartialEq for ImportRequest
impl StructuralPartialEq for ImportRequest
Auto Trait Implementations§
impl Freeze for ImportRequest
impl RefUnwindSafe for ImportRequest
impl Send for ImportRequest
impl Sync for ImportRequest
impl Unpin for ImportRequest
impl UnsafeUnpin for ImportRequest
impl UnwindSafe for ImportRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.