pub struct getFoundryVersionReturn {
pub version: String,
}
Expand description
Returns the Foundry version.
Format: <cargo_version>+<git_sha>+<build_timestamp>
Sample output: 0.2.0+faa94c384+202407110019
Note: Build timestamps may vary slightly across platforms due to separate CI jobs.
For reliable version comparisons, use YYYYMMDD0000 format (e.g., >= 202407110000)
to compare timestamps while ignoring minor time differences.
Container type for the return parameters of the getFoundryVersion()
function.
Fields§
§version: String
Trait Implementations§
Source§impl Clone for getFoundryVersionReturn
impl Clone for getFoundryVersionReturn
Source§fn clone(&self) -> getFoundryVersionReturn
fn clone(&self) -> getFoundryVersionReturn
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for getFoundryVersionReturn
impl RefUnwindSafe for getFoundryVersionReturn
impl Send for getFoundryVersionReturn
impl Sync for getFoundryVersionReturn
impl Unpin for getFoundryVersionReturn
impl UnwindSafe for getFoundryVersionReturn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes