pub struct GetInstanceList {
pub serviceName: String,
pub groupName: Option<String>,
pub namespaceId: Option<String>,
pub clusters: Option<String>,
pub healthyOnly: Option<bool>,
}Fields§
§serviceName: String服务名
groupName: Option<String>分组名
namespaceId: Option<String>命名空间ID
clusters: Option<String>集群名称,多个集群用逗号分隔
healthyOnly: Option<bool>是否只返回健康实例, 默认为false
Implementations§
Source§impl GetInstanceList
impl GetInstanceList
pub async fn instance_list(&self) -> Result<Instance>
Trait Implementations§
Source§impl Clone for GetInstanceList
impl Clone for GetInstanceList
Source§fn clone(&self) -> GetInstanceList
fn clone(&self) -> GetInstanceList
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 Debug for GetInstanceList
impl Debug for GetInstanceList
Source§impl Default for GetInstanceList
impl Default for GetInstanceList
Source§fn default() -> GetInstanceList
fn default() -> GetInstanceList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetInstanceList
impl<'de> Deserialize<'de> for GetInstanceList
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 ParseUrl for GetInstanceList
impl ParseUrl for GetInstanceList
Source§impl Serialize for GetInstanceList
impl Serialize for GetInstanceList
Auto Trait Implementations§
impl Freeze for GetInstanceList
impl RefUnwindSafe for GetInstanceList
impl Send for GetInstanceList
impl Sync for GetInstanceList
impl Unpin for GetInstanceList
impl UnsafeUnpin for GetInstanceList
impl UnwindSafe for GetInstanceList
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