Struct hydrus_api::wrapper::service::Services
source · 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 !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