Struct mhost::services::whois::MultiQuery
source · pub struct MultiQuery { /* private fields */ }
Implementations§
source§impl MultiQuery
impl MultiQuery
pub fn new(resources: Vec<IpNetwork>, query_types: Vec<QueryType>) -> MultiQuery
pub fn from_iter<T: Into<IpNetwork>, I: IntoIterator<Item = T>, J: IntoIterator<Item = QueryType>>( resources: I, query_types: J ) -> MultiQuery
pub fn single<T: Into<IpNetwork>>( resource: T, query_type: QueryType ) -> MultiQuery
pub fn multi_resources<T: Into<IpNetwork>, I: IntoIterator<Item = T>>( resources: I, query_type: QueryType ) -> MultiQuery
pub fn multi_types( resource: IpNetwork, query_types: Vec<QueryType> ) -> MultiQuery
pub fn resources(&self) -> &Vec<IpNetwork>
pub fn query_types(&self) -> &Vec<QueryType>
Trait Implementations§
source§impl Debug for MultiQuery
impl Debug for MultiQuery
Auto Trait Implementations§
impl RefUnwindSafe for MultiQuery
impl Send for MultiQuery
impl Sync for MultiQuery
impl Unpin for MultiQuery
impl UnwindSafe for MultiQuery
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