pub struct SetUpstreamParams {
pub upstream: String,
}Expand description
control.config.setUpstream params.
Fields§
§upstream: StringThe upstream DIG RPC URL to persist (blank clears the override).
Trait Implementations§
Source§impl Clone for SetUpstreamParams
impl Clone for SetUpstreamParams
Source§fn clone(&self) -> SetUpstreamParams
fn clone(&self) -> SetUpstreamParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCall for SetUpstreamParams
impl ControlCall for SetUpstreamParams
Source§const METHOD: ControlMethod = ControlMethod::ConfigSetUpstream
const METHOD: ControlMethod = ControlMethod::ConfigSetUpstream
The wire method this call invokes.
Source§type Output = SetUpstreamResult
type Output = SetUpstreamResult
The typed result this call returns on success.
Source§impl Debug for SetUpstreamParams
impl Debug for SetUpstreamParams
Source§impl<'de> Deserialize<'de> for SetUpstreamParams
impl<'de> Deserialize<'de> for SetUpstreamParams
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 Eq for SetUpstreamParams
Source§impl PartialEq for SetUpstreamParams
impl PartialEq for SetUpstreamParams
Source§impl Serialize for SetUpstreamParams
impl Serialize for SetUpstreamParams
impl StructuralPartialEq for SetUpstreamParams
Auto Trait Implementations§
impl Freeze for SetUpstreamParams
impl RefUnwindSafe for SetUpstreamParams
impl Send for SetUpstreamParams
impl Sync for SetUpstreamParams
impl Unpin for SetUpstreamParams
impl UnsafeUnpin for SetUpstreamParams
impl UnwindSafe for SetUpstreamParams
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