pub struct Repository {Show 15 fields
pub name: String,
pub full_name: String,
pub owner: Option<User>,
pub html_url: String,
pub ssh_url: String,
pub https_url: String,
pub description: String,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
pub visibility: RepositoryVisibility,
pub archived: bool,
pub default_branch: String,
pub forks_count: u32,
pub stars_count: u32,
pub forked_from: Option<ForkedFromRepository>,
}
Fields§
§name: String
§full_name: String
§owner: Option<User>
§html_url: String
§ssh_url: String
§https_url: String
§description: String
§created_at: OffsetDateTime
§updated_at: OffsetDateTime
§visibility: RepositoryVisibility
§archived: bool
§default_branch: String
§forks_count: u32
§stars_count: u32
§forked_from: Option<ForkedFromRepository>
Implementations§
Source§impl Repository
impl Repository
pub fn print(&self, in_browser: bool, formatter_type: FormatterType)
Trait Implementations§
Source§impl Debug for Repository
impl Debug for Repository
Source§impl<'de> Deserialize<'de> for Repository
impl<'de> Deserialize<'de> for Repository
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 Formatter for Repository
impl Formatter for Repository
Source§impl From<BitbucketRepository> for Repository
impl From<BitbucketRepository> for Repository
Source§fn from(repo: BitbucketRepository) -> Repository
fn from(repo: BitbucketRepository) -> Repository
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
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