Struct gio::SrvTarget
[−]
pub struct SrvTarget(_);
Methods
impl SrvTarget[src]
pub fn new(hostname: &str, port: u16, priority: u16, weight: u16) -> SrvTarget[src]
pub fn get_hostname(&mut self) -> Option<String>[src]
pub fn get_port(&mut self) -> u16[src]
pub fn get_priority(&mut self) -> u16[src]
pub fn get_weight(&mut self) -> u16[src]
Trait Implementations
impl Clone for SrvTarget
fn clone(&self) -> SrvTarget
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for SrvTarget
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StaticType for SrvTarget
fn static_type() -> Type
Returns the type identifier of Self.