pub struct Request<'a> { /* private fields */ }Expand description
Find for subnet by nameOrId.
Implementations§
Trait Implementations§
Source§impl<'a> Findable for Request<'a>
impl<'a> Findable for Request<'a>
Source§fn get_ep<C: RestClient>(&self) -> Result<Request<'a>, ApiError<C::Error>>
fn get_ep<C: RestClient>(&self) -> Result<Request<'a>, ApiError<C::Error>>
return GET RestEndpoint with query parameters set
Source§fn list_ep<C: RestClient>(&self) -> Result<Request<'a>, ApiError<C::Error>>
fn list_ep<C: RestClient>(&self) -> Result<Request<'a>, ApiError<C::Error>>
return LIST RestEndpoint with query parameters set
Source§fn locate_resource_in_list<C: RestClient>(
&self,
data: Vec<Value>,
) -> Result<Value, ApiError<C::Error>>
fn locate_resource_in_list<C: RestClient>( &self, data: Vec<Value>, ) -> Result<Value, ApiError<C::Error>>
Locate single resource in resources list
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more