pub struct ProxyHttpFetchAction {
pub url: String,
pub public_key: Option<String>,
pub options: HttpFetchOptions,
}Expand description
An Proxy HTTP fetch action containing the target URL, fetch options, and public key of the proxy. This action is serialized and sent to the VM for execution.
Fields§
§url: StringThe URL to fetch.
public_key: Option<String>The public key of the proxy node that will handle the request.
options: HttpFetchOptionsThe options for the HTTP fetch request.
Trait Implementations§
Source§impl Clone for ProxyHttpFetchAction
impl Clone for ProxyHttpFetchAction
Source§fn clone(&self) -> ProxyHttpFetchAction
fn clone(&self) -> ProxyHttpFetchAction
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 ProxyHttpFetchAction
impl Debug for ProxyHttpFetchAction
Source§impl<'de> Deserialize<'de> for ProxyHttpFetchAction
impl<'de> Deserialize<'de> for ProxyHttpFetchAction
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 ProxyHttpFetchAction
impl RefUnwindSafe for ProxyHttpFetchAction
impl Send for ProxyHttpFetchAction
impl Sync for ProxyHttpFetchAction
impl Unpin for ProxyHttpFetchAction
impl UnwindSafe for ProxyHttpFetchAction
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