pub struct SetRemoteLocationsParams {
pub locations: Vec<RemoteLocation>,
}Expand description
Enables target discovery for the specified locations, when setDiscoverTargets was set to
true.
setRemoteLocations
Fields§
§locations: Vec<RemoteLocation>List of remote locations.
Implementations§
Source§impl SetRemoteLocationsParams
impl SetRemoteLocationsParams
pub fn new(locations: Vec<RemoteLocation>) -> Self
Trait Implementations§
Source§impl Clone for SetRemoteLocationsParams
impl Clone for SetRemoteLocationsParams
Source§fn clone(&self) -> SetRemoteLocationsParams
fn clone(&self) -> SetRemoteLocationsParams
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 SetRemoteLocationsParams
impl Debug for SetRemoteLocationsParams
Source§impl<'de> Deserialize<'de> for SetRemoteLocationsParams
impl<'de> Deserialize<'de> for SetRemoteLocationsParams
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
Source§impl PartialEq for SetRemoteLocationsParams
impl PartialEq for SetRemoteLocationsParams
Source§impl Serialize for SetRemoteLocationsParams
impl Serialize for SetRemoteLocationsParams
impl StructuralPartialEq for SetRemoteLocationsParams
Auto Trait Implementations§
impl Freeze for SetRemoteLocationsParams
impl RefUnwindSafe for SetRemoteLocationsParams
impl Send for SetRemoteLocationsParams
impl Sync for SetRemoteLocationsParams
impl Unpin for SetRemoteLocationsParams
impl UnsafeUnpin for SetRemoteLocationsParams
impl UnwindSafe for SetRemoteLocationsParams
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