#[non_exhaustive]pub struct ListRuntimesResponse {
pub runtimes: Vec<Runtime>,
/* private fields */
}
Expand description
Response for the ListRuntimes
method.
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.runtimes: Vec<Runtime>
The runtimes that match the request.
Implementations§
Source§impl ListRuntimesResponse
impl ListRuntimesResponse
pub fn new() -> Self
Sourcepub fn set_runtimes<T, V>(self, v: T) -> Self
pub fn set_runtimes<T, V>(self, v: T) -> Self
Sets the value of runtimes.
Trait Implementations§
Source§impl Clone for ListRuntimesResponse
impl Clone for ListRuntimesResponse
Source§fn clone(&self) -> ListRuntimesResponse
fn clone(&self) -> ListRuntimesResponse
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 ListRuntimesResponse
impl Debug for ListRuntimesResponse
Source§impl Default for ListRuntimesResponse
impl Default for ListRuntimesResponse
Source§fn default() -> ListRuntimesResponse
fn default() -> ListRuntimesResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListRuntimesResponse
impl Message for ListRuntimesResponse
Source§impl PartialEq for ListRuntimesResponse
impl PartialEq for ListRuntimesResponse
impl StructuralPartialEq for ListRuntimesResponse
Auto Trait Implementations§
impl Freeze for ListRuntimesResponse
impl RefUnwindSafe for ListRuntimesResponse
impl Send for ListRuntimesResponse
impl Sync for ListRuntimesResponse
impl Unpin for ListRuntimesResponse
impl UnwindSafe for ListRuntimesResponse
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