pub struct Provider {
pub id: String,
pub provider_name: String,
pub validators: Vec<Validator>,
pub icon_url: Option<String>,
pub terms_of_service_url: Option<String>,
pub is_terms_of_service_approved: bool,
pub is_private: Option<bool>,
pub is_liquid_staking: bool,
}
Fields§
§id: String
The ID of the provider
provider_name: String
Name of the provider
validators: Vec<Validator>
An array of objects that includes chain descriptors and the corresponding fee percentages for validators supported by the provider
icon_url: Option<String>
URL to the validator’s icon
terms_of_service_url: Option<String>
URL to the terms of service
is_terms_of_service_approved: bool
Indicates whether the terms of service are approved
is_private: Option<bool>
Is the provider private, i.e created by the user
is_liquid_staking: bool
Is the provider a liquid staking provider
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Provider
impl<'de> Deserialize<'de> for Provider
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
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnwindSafe for Provider
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