Struct github_ureq::types::Release
source · [−]pub struct Release { /* private fields */ }Implementations
sourceimpl Release
impl Release
pub fn url(&self) -> &String
pub fn assets_url(&self) -> &String
pub fn upload_url(&self) -> &String
pub fn html_url(&self) -> &String
pub fn id(&self) -> &usize
pub fn node_id(&self) -> &String
pub fn tag_name(&self) -> &String
pub fn target_commitish(&self) -> &String
pub fn name(&self) -> &Option<String>
pub fn draft(&self) -> &bool
pub fn prerelease(&self) -> &bool
pub fn created_at(&self) -> &DateTime<Local>
pub fn published_at(&self) -> &DateTime<Local>
pub fn assets(&self) -> &Vec<ReleaseAsset>
pub fn tarball_url(&self) -> &String
pub fn zipball_url(&self) -> &String
pub fn body(&self) -> &Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
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
Auto Trait Implementations
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnwindSafe for Release
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