Struct github_ureq::types::ReleaseAsset
source · [−]pub struct ReleaseAsset { /* private fields */ }Implementations
sourceimpl ReleaseAsset
impl ReleaseAsset
pub fn url(&self) -> &String
pub fn id(&self) -> &usize
pub fn node_id(&self) -> &String
pub fn name(&self) -> &String
pub fn label(&self) -> &Option<String>
pub fn uploader(&self) -> &User
pub fn content_type(&self) -> &String
pub fn state(&self) -> &String
pub fn size(&self) -> &usize
pub fn download_count(&self) -> &usize
pub fn created_at(&self) -> &DateTime<Local>
pub fn updated_at(&self) -> &DateTime<Local>
pub fn browser_download_url(&self) -> &String
Trait Implementations
sourceimpl Clone for ReleaseAsset
impl Clone for ReleaseAsset
sourcefn clone(&self) -> ReleaseAsset
fn clone(&self) -> ReleaseAsset
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ReleaseAsset
impl Debug for ReleaseAsset
sourceimpl<'de> Deserialize<'de> for ReleaseAsset
impl<'de> Deserialize<'de> for ReleaseAsset
sourcefn 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
sourceimpl Serialize for ReleaseAsset
impl Serialize for ReleaseAsset
Auto Trait Implementations
impl RefUnwindSafe for ReleaseAsset
impl Send for ReleaseAsset
impl Sync for ReleaseAsset
impl Unpin for ReleaseAsset
impl UnwindSafe for ReleaseAsset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more