pub struct CreateKeyResponse {
pub key: String,
pub name: String,
}Expand description
创建 API key 响应体。
Fields§
§key: String新生成的 API key
name: String备注名称
Trait Implementations§
Source§impl Debug for CreateKeyResponse
impl Debug for CreateKeyResponse
Source§impl<'de> Deserialize<'de> for CreateKeyResponse
impl<'de> Deserialize<'de> for CreateKeyResponse
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
Auto Trait Implementations§
impl Freeze for CreateKeyResponse
impl RefUnwindSafe for CreateKeyResponse
impl Send for CreateKeyResponse
impl Sync for CreateKeyResponse
impl Unpin for CreateKeyResponse
impl UnsafeUnpin for CreateKeyResponse
impl UnwindSafe for CreateKeyResponse
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