pub struct ReleaseAuthor {
pub id: u64,
pub username: String,
pub name: Option<String>,
}Expand description
Author block on a Release. Username is the field most useful for cross-referencing with the calling user’s profile.
Fields§
§id: u64§username: String§name: Option<String>Trait Implementations§
Source§impl Clone for ReleaseAuthor
impl Clone for ReleaseAuthor
Source§fn clone(&self) -> ReleaseAuthor
fn clone(&self) -> ReleaseAuthor
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 ReleaseAuthor
impl Debug for ReleaseAuthor
Source§impl<'de> Deserialize<'de> for ReleaseAuthor
impl<'de> Deserialize<'de> for ReleaseAuthor
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
Auto Trait Implementations§
impl Freeze for ReleaseAuthor
impl RefUnwindSafe for ReleaseAuthor
impl Send for ReleaseAuthor
impl Sync for ReleaseAuthor
impl Unpin for ReleaseAuthor
impl UnsafeUnpin for ReleaseAuthor
impl UnwindSafe for ReleaseAuthor
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