Struct barreleye_client::Key
source · pub struct Key { /* private fields */ }
Implementations§
source§impl Key
impl Key
pub async fn create(client: &Barreleye) -> Response<Self>
pub async fn list(client: &Barreleye) -> Response<Vec<Self>>
pub async fn get(client: &Barreleye, id: &str) -> Response<Self>
pub async fn update(client: &Barreleye, id: &str, data: KeyData) -> Response<()>
pub async fn delete(client: &Barreleye, id: &str) -> Response<()>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Key
impl<'de> Deserialize<'de> for Key
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