pub struct Project {
pub id: i64,
/* private fields */
}
Fields§
§id: i64
Implementations§
Source§impl Project
impl Project
pub fn builder() -> ProjectBuilder
pub fn new(id: i64, default_branch: &str) -> Self
pub fn with_html_url(self, html_url: &str) -> Self
pub fn with_created_at(self, created_at: &str) -> Self
pub fn default_branch(&self) -> &str
Trait Implementations§
Source§impl From<GithubProjectFields> for Project
impl From<GithubProjectFields> for Project
Source§fn from(fields: GithubProjectFields) -> Self
fn from(fields: GithubProjectFields) -> Self
Converts to this type from the input type.
Source§impl From<GitlabProjectFields> for Project
impl From<GitlabProjectFields> for Project
Source§fn from(fields: GitlabProjectFields) -> Self
fn from(fields: GitlabProjectFields) -> Self
Converts to this type from the input type.
Source§impl From<Project> for DisplayBody
impl From<Project> for DisplayBody
Source§fn from(p: Project) -> DisplayBody
fn from(p: Project) -> DisplayBody
Converts to this type from the input type.
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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