pub struct RpcApi {
pub url: String,
pub headers: Option<Vec<HttpHeader>>,
}Fields§
§url: String§headers: Option<Vec<HttpHeader>>Trait Implementations§
Source§impl CandidType for RpcApi
impl CandidType for RpcApi
Source§impl<'de> Deserialize<'de> for RpcApi
impl<'de> Deserialize<'de> for RpcApi
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 RpcApi
impl RefUnwindSafe for RpcApi
impl Send for RpcApi
impl Sync for RpcApi
impl Unpin for RpcApi
impl UnwindSafe for RpcApi
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