pub enum SubstrateTier {
Laptop {
owner: String,
os: String,
},
Mobile {
device_type: String,
os_version: String,
},
Browser {
browser: String,
version: String,
},
Edge {
region: String,
pop: String,
provider: String,
},
Cloud {
provider: CloudProvider,
instance_type: String,
region: String,
},
BareMetal {
specs: String,
location: String,
},
GpuCluster {
gpu_count: u32,
gpu_type: String,
interconnect: String,
},
Serverless {
provider: String,
memory_mb: u32,
timeout: Duration,
},
Unknown {
clues: Vec<String>,
},
}Expand description
What kind of hardware/platform the agent runs on.
Variants§
Trait Implementations§
Source§impl Clone for SubstrateTier
impl Clone for SubstrateTier
Source§fn clone(&self) -> SubstrateTier
fn clone(&self) -> SubstrateTier
Returns a duplicate 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 moreSource§impl Debug for SubstrateTier
impl Debug for SubstrateTier
Source§impl<'de> Deserialize<'de> for SubstrateTier
impl<'de> Deserialize<'de> for SubstrateTier
Source§fn 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 Freeze for SubstrateTier
impl RefUnwindSafe for SubstrateTier
impl Send for SubstrateTier
impl Sync for SubstrateTier
impl Unpin for SubstrateTier
impl UnsafeUnpin for SubstrateTier
impl UnwindSafe for SubstrateTier
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