pub struct RollupConstants {
pub address_prefix: String,
pub chain_id: u64,
pub chain_name: String,
pub gas_token_id: String,
pub hyperlane_domain: u64,
}Expand description
Response from the /rollup/constants endpoint.
JSON schema
{
"description": "Response from the `/rollup/constants` endpoint.",
"type": "object",
"required": [
"address_prefix",
"chain_id",
"chain_name",
"gas_token_id",
"hyperlane_domain"
],
"properties": {
"address_prefix": {
"type": "string"
},
"chain_id": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"chain_name": {
"type": "string"
},
"gas_token_id": {
"type": "string"
},
"hyperlane_domain": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}Fields§
§address_prefix: String§chain_id: u64§chain_name: String§gas_token_id: String§hyperlane_domain: u64Trait Implementations§
Source§impl Clone for RollupConstants
impl Clone for RollupConstants
Source§fn clone(&self) -> RollupConstants
fn clone(&self) -> RollupConstants
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 RollupConstants
impl Debug for RollupConstants
Source§impl<'de> Deserialize<'de> for RollupConstants
impl<'de> Deserialize<'de> for RollupConstants
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 RollupConstants
impl RefUnwindSafe for RollupConstants
impl Send for RollupConstants
impl Sync for RollupConstants
impl Unpin for RollupConstants
impl UnsafeUnpin for RollupConstants
impl UnwindSafe for RollupConstants
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