pub struct ExportRequest {
pub from: String,
pub branch: String,
pub directory: String,
pub to: String,
pub target_directory: String,
pub branch_name: String,
pub term_scope: TermScope,
}Expand description
What to export, and where to.
Fields§
§from: StringThe private repository the work is in: an identity key, alias, origin or path.
branch: StringThe branch holding the work.
directory: StringThe one directory of that branch the work is confined to, relative and normalized.
to: StringThe public repository to export into.
target_directory: StringWhere the directory’s contents go there, relative and normalized.
branch_name: StringThe local branch to cut in the public repository’s registered checkout.
term_scope: TermScopeWhich private repositories the export is screened against. Unset is every registered private one.
Trait Implementations§
Source§impl Clone for ExportRequest
impl Clone for ExportRequest
Source§impl Debug for ExportRequest
impl Debug for ExportRequest
Source§impl<'de> Deserialize<'de> for ExportRequest
impl<'de> Deserialize<'de> for ExportRequest
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
impl Eq for ExportRequest
Source§impl PartialEq for ExportRequest
impl PartialEq for ExportRequest
Source§impl Serialize for ExportRequest
impl Serialize for ExportRequest
impl StructuralPartialEq for ExportRequest
Auto Trait Implementations§
impl Freeze for ExportRequest
impl RefUnwindSafe for ExportRequest
impl Send for ExportRequest
impl Sync for ExportRequest
impl Unpin for ExportRequest
impl UnsafeUnpin for ExportRequest
impl UnwindSafe for ExportRequest
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.