Struct jormungandr_automation::testing::Release
pub struct Release {
version: String,
released_date: Option<SystemTime>,
releases_per_os: HashMap<Type, Asset, RandomState>,
prerelease: bool,
draft: bool,
}
Fields§
§version: String
§released_date: Option<SystemTime>
§releases_per_os: HashMap<Type, Asset, RandomState>
§prerelease: bool
§draft: bool
Implementations§
§impl Release
impl Release
pub fn get_release_for_os(&self, os_type: Type) -> Option<Asset>
pub fn assets(&self) -> Vec<Asset, Global>
pub fn releases_per_os(&self) -> &HashMap<Type, Asset, RandomState>
pub fn released_date(&self) -> &Option<SystemTime>
pub fn version_str(&self) -> String
pub fn version(&self) -> Version
pub fn prerelease(&self) -> bool
pub fn draft(&self) -> bool
Trait Implementations§
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§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request