Struct barreleye_client::Address
source · pub struct Address { /* private fields */ }
Implementations§
source§impl Address
impl Address
pub async fn create(
client: &Barreleye,
label: &str,
network: &str,
addresses: HashMap<String, String>
) -> Response<Self>
pub async fn list(client: &Barreleye) -> Response<Vec<Self>>
pub async fn get(client: &Barreleye, id: &str) -> Response<Self>
pub async fn delete(client: &Barreleye, id: &str) -> Response<()>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more