pub struct Giga(pub u64);Expand description
Multiplies by 1_000_000_000 when converted to a u64
assert_eq!(u64::from(Giga(2)), 2*1_000_000_000);Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl From<Giga> for MinBytesForConcurrentDownload
impl From<Giga> for MinBytesForConcurrentDownload
Source§impl From<Giga> for PartSizeBytes
impl From<Giga> for PartSizeBytes
Source§impl Ord for Giga
impl Ord for Giga
Source§impl PartialOrd for Giga
impl PartialOrd for Giga
impl Copy for Giga
impl Eq for Giga
impl StructuralPartialEq for Giga
Auto Trait Implementations§
impl Freeze for Giga
impl RefUnwindSafe for Giga
impl Send for Giga
impl Sync for Giga
impl Unpin for Giga
impl UnwindSafe for Giga
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