#[non_exhaustive]pub struct DiscoverMetaResponse {
pub region_id: i64,
pub region: String,
pub endpoints: Vec<DiscoverEndpoint>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.region_id: i64§region: String§endpoints: Vec<DiscoverEndpoint>Trait Implementations§
Source§impl Clone for DiscoverMetaResponse
impl Clone for DiscoverMetaResponse
Source§impl Debug for DiscoverMetaResponse
impl Debug for DiscoverMetaResponse
Source§impl<'de> Deserialize<'de> for DiscoverMetaResponse
impl<'de> Deserialize<'de> for DiscoverMetaResponse
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 DiscoverMetaResponse
impl RefUnwindSafe for DiscoverMetaResponse
impl Send for DiscoverMetaResponse
impl Sync for DiscoverMetaResponse
impl Unpin for DiscoverMetaResponse
impl UnsafeUnpin for DiscoverMetaResponse
impl UnwindSafe for DiscoverMetaResponse
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