pub struct GitlabProject {
pub name: String,
pub path_with_namespace: String,
pub http_url_to_repo: String,
pub ssh_url_to_repo: String,
pub visibility: GitlabVisibility,
}
Fields§
§name: String
§path_with_namespace: String
§http_url_to_repo: String
§ssh_url_to_repo: String
§visibility: GitlabVisibility
Trait Implementations§
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 Project for GitlabProject
impl Project for GitlabProject
fn name(&self) -> ProjectName
fn namespace(&self) -> Option<ProjectNamespace>
fn ssh_url(&self) -> RemoteUrl
fn http_url(&self) -> RemoteUrl
fn private(&self) -> bool
fn into_repo_config(
self,
remote_name: &RemoteName,
worktree_setup: bool,
force_ssh: bool,
) -> Repowhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for GitlabProject
impl RefUnwindSafe for GitlabProject
impl Send for GitlabProject
impl Sync for GitlabProject
impl Unpin 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