pub struct Services { /* private fields */ }Implementations§
Source§impl Services
impl Services
Sourcepub fn from_response(client: Client, response: GetServicesResponse) -> Self
pub fn from_response(client: Client, response: GetServicesResponse) -> Self
Creates the services list from a given hydrus response
Sourcepub fn get_services(&self, service_type: ServiceType) -> Vec<&Service>
pub fn get_services(&self, service_type: ServiceType) -> Vec<&Service>
Returns a list of all services of the given type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Services
impl !RefUnwindSafe for Services
impl Send for Services
impl Sync for Services
impl Unpin for Services
impl !UnwindSafe for Services
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