pub fn primary_node(mut self, url: &str, jwt: Option<String>, basic_auth: Option<(&str, &str)>) -> Result<Self> {
    self.builder = self.builder.with_primary_node(url, jwt, basic_auth)?;
    self.nodeset = true;
    Ok(self)
  }
/// Adds an IOTA node by its URL to be used as primary node.
Adds an IOTA node by its URL to be used as primary node.
Adds an IOTA node by its URL to be used as primary node .
pub fn primary_node(mut self, url: &str, jwt: Option<String>, basic_auth: Option<(&str, &str)>) -> Result<Self> {
    self.builder = self.builder.with_primary_node(url, jwt, basic_auth)?;
    self.nodeset = true;
    Ok(self)
  }
pub fn primary_node ( mut self , url : & str , jwt : Option < String > , basic_auth : Option < ( & str , & str ) > ) -> Result < Self > { self . builder = self . builder . with_primary_node ( url , jwt , basic_auth ) ? ; self . nodeset = true ; Ok ( self ) }
Adds an IOTA node by its URL to be used as primary node.
Adds an IOTA node by its URL to be used as primary node .
mut self
url
&str
jwt
Option<String>
basic_auth
Option<(&str, &str)>
mut self
url
&str
jwt
Option<String>
basic_auth
Option<(&str, &str)>