pub struct RemoteRepo {
pub name: String,
pub full_path: String,
pub clone_url: String,
pub description: Option<String>,
pub default_branch: Option<String>,
pub archived: bool,
pub fork: bool,
pub last_activity: Option<String>,
pub size_kib: Option<u64>,
}Expand description
A repository on the host.
Fields§
§name: String§full_path: Stringowner/name or group/sub/name.
clone_url: String§description: Option<String>§default_branch: Option<String>§archived: bool§fork: bool§last_activity: Option<String>§size_kib: Option<u64>Size in KiB, when the host reports it.
Trait Implementations§
Source§impl Clone for RemoteRepo
impl Clone for RemoteRepo
Source§impl Debug for RemoteRepo
impl Debug for RemoteRepo
Source§impl<'de> Deserialize<'de> for RemoteRepo
impl<'de> Deserialize<'de> for RemoteRepo
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
Source§impl PartialEq for RemoteRepo
impl PartialEq for RemoteRepo
Source§impl Serialize for RemoteRepo
impl Serialize for RemoteRepo
impl StructuralPartialEq for RemoteRepo
Auto Trait Implementations§
impl Forget for RemoteRepo
impl Freeze for RemoteRepo
impl RefUnwindSafe for RemoteRepo
impl Send for RemoteRepo
impl Sync for RemoteRepo
impl Unpin for RemoteRepo
impl UnsafeUnpin for RemoteRepo
impl UnwindSafe for RemoteRepo
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