pub struct User {
pub id: String,
pub name: String,
pub path: Option<String>,
}Expand description
§User
Represents a user or org for every platform.
id: the id of the user.name: the name of the user.path: an optional path for the group or organization (gitea)
Fields§
§id: String§name: String§path: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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