pub struct Service {
pub protocol: Protocol,
pub name: String,
pub url: String,
pub description: String,
pub price: String,
pub network: String,
pub tags: Vec<String>,
}Expand description
A discovered payable service, normalized across protocols.
Fields§
§protocol: ProtocolProtocol this service uses.
name: StringHuman-readable name.
url: StringFull endpoint URL.
description: StringShort description.
price: StringCheapest price display (e.g. “$0.01”, “free”).
network: StringNetwork or chain (e.g. “base”, “Tempo”).
Categories / tags.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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