pub enum RepoAction {
Show,
Visibility(bool),
DefaultBranch(String),
Create {
sha256: bool,
},
}Expand description
What a REPO_VERB line asks.
Variants§
Show
Repos.Get.
Visibility(bool)
Repos.SetVisibility: true is public.
DefaultBranch(String)
Repos.SetDefaultBranch, the branch exactly as sent (the server
validates it; the client expands a short name).
Create
Repos.Create of an empty repository in this object format (true
is sha256): what a client that knows its own format asks before its
first push, since a push-made repository can only be sha1.
Trait Implementations§
Source§impl Clone for RepoAction
impl Clone for RepoAction
Source§impl Debug for RepoAction
impl Debug for RepoAction
impl Eq for RepoAction
Source§impl PartialEq for RepoAction
impl PartialEq for RepoAction
impl StructuralPartialEq for RepoAction
Auto Trait Implementations§
impl Freeze for RepoAction
impl RefUnwindSafe for RepoAction
impl Send for RepoAction
impl Sync for RepoAction
impl Unpin for RepoAction
impl UnsafeUnpin for RepoAction
impl UnwindSafe for RepoAction
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§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.