pub struct PushResp {
pub branch: Option<String>,
pub clone_url: Option<String>,
pub commit: Option<String>,
pub ssh_url: Option<String>,
}Fields§
§branch: Option<String>Branch is the branch that was advanced, resolved (never empty).
clone_url: Option<String>CloneURL is the repo’s HTTPS remote.
commit: Option<String>Commit is the new commit’s full hash.
ssh_url: Option<String>SSHURL is the repo’s scp-style SSH remote.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PushResp
impl<'de> Deserialize<'de> for PushResp
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 StructuralPartialEq for PushResp
Auto Trait Implementations§
impl Freeze for PushResp
impl RefUnwindSafe for PushResp
impl Send for PushResp
impl Sync for PushResp
impl Unpin for PushResp
impl UnsafeUnpin for PushResp
impl UnwindSafe for PushResp
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