pub struct GitlabProject {
pub path_with_namespace: String,
pub http_url_to_repo: String,
pub default_branch: Option<String>,
}Expand description
GitlabProject : a GitLab project a token can sync, as the resource form needs it
Fields§
§path_with_namespace: Stringnested group path plus project name, which is also GitLab’s project id
http_url_to_repo: String§default_branch: Option<String>Implementations§
Source§impl GitlabProject
impl GitlabProject
Sourcepub fn new(
path_with_namespace: String,
http_url_to_repo: String,
) -> GitlabProject
pub fn new( path_with_namespace: String, http_url_to_repo: String, ) -> GitlabProject
a GitLab project a token can sync, as the resource form needs it
Trait Implementations§
Source§impl Clone for GitlabProject
impl Clone for GitlabProject
Source§impl Debug for GitlabProject
impl Debug for GitlabProject
Source§impl Default for GitlabProject
impl Default for GitlabProject
Source§impl<'de> Deserialize<'de> for GitlabProject
impl<'de> Deserialize<'de> for GitlabProject
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 GitlabProject
impl PartialEq for GitlabProject
Source§impl Serialize for GitlabProject
impl Serialize for GitlabProject
impl StructuralPartialEq for GitlabProject
Auto Trait Implementations§
impl Freeze for GitlabProject
impl RefUnwindSafe for GitlabProject
impl Send for GitlabProject
impl Sync for GitlabProject
impl Unpin for GitlabProject
impl UnsafeUnpin for GitlabProject
impl UnwindSafe for GitlabProject
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