pub struct GitlabProjectsOut {
pub account: Option<String>,
pub projects: Option<Vec<GitlabProjectView>>,
}Fields§
§account: Option<String>Account is the connected GitLab username, so a client can label the list without a second call. Empty when the connection recorded none.
projects: Option<Vec<GitlabProjectView>>Projects is every project the token reaches, newest activity first. Never null; [] when the account has none.
Implementations§
Source§impl GitlabProjectsOut
impl GitlabProjectsOut
pub fn new() -> GitlabProjectsOut
Trait Implementations§
Source§impl Clone for GitlabProjectsOut
impl Clone for GitlabProjectsOut
Source§fn clone(&self) -> GitlabProjectsOut
fn clone(&self) -> GitlabProjectsOut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitlabProjectsOut
impl Debug for GitlabProjectsOut
Source§impl Default for GitlabProjectsOut
impl Default for GitlabProjectsOut
Source§fn default() -> GitlabProjectsOut
fn default() -> GitlabProjectsOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitlabProjectsOut
impl<'de> Deserialize<'de> for GitlabProjectsOut
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 GitlabProjectsOut
impl PartialEq for GitlabProjectsOut
Source§impl Serialize for GitlabProjectsOut
impl Serialize for GitlabProjectsOut
impl StructuralPartialEq for GitlabProjectsOut
Auto Trait Implementations§
impl Freeze for GitlabProjectsOut
impl RefUnwindSafe for GitlabProjectsOut
impl Send for GitlabProjectsOut
impl Sync for GitlabProjectsOut
impl Unpin for GitlabProjectsOut
impl UnsafeUnpin for GitlabProjectsOut
impl UnwindSafe for GitlabProjectsOut
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