pub struct ApiKeyPostRequest {
pub assigned_role_ids: Vec<Uuid>,
pub expire_at: Option<DateTime<Utc>>,
pub hash_data: Option<ApiKeyHashData>,
pub ip_access_list: Vec<IpAccessListEntry>,
pub name: String,
pub state: ApiKeyPostRequestState,
}Expand description
ApiKeyPostRequest from the ClickHouse Cloud API.
Fields§
§assigned_role_ids: Vec<Uuid>§expire_at: Option<DateTime<Utc>>§hash_data: Option<ApiKeyHashData>§ip_access_list: Vec<IpAccessListEntry>§name: String§state: ApiKeyPostRequestStateTrait Implementations§
Source§impl Clone for ApiKeyPostRequest
impl Clone for ApiKeyPostRequest
Source§fn clone(&self) -> ApiKeyPostRequest
fn clone(&self) -> ApiKeyPostRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiKeyPostRequest
impl Debug for ApiKeyPostRequest
Source§impl Default for ApiKeyPostRequest
impl Default for ApiKeyPostRequest
Source§fn default() -> ApiKeyPostRequest
fn default() -> ApiKeyPostRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiKeyPostRequest
impl<'de> Deserialize<'de> for ApiKeyPostRequest
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
Source§impl PartialEq for ApiKeyPostRequest
impl PartialEq for ApiKeyPostRequest
Source§fn eq(&self, other: &ApiKeyPostRequest) -> bool
fn eq(&self, other: &ApiKeyPostRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiKeyPostRequest
impl Serialize for ApiKeyPostRequest
impl StructuralPartialEq for ApiKeyPostRequest
Auto Trait Implementations§
impl Freeze for ApiKeyPostRequest
impl RefUnwindSafe for ApiKeyPostRequest
impl Send for ApiKeyPostRequest
impl Sync for ApiKeyPostRequest
impl Unpin for ApiKeyPostRequest
impl UnsafeUnpin for ApiKeyPostRequest
impl UnwindSafe for ApiKeyPostRequest
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