clerk-sdk-rust-community 1.0.4

The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
Documentation
/*
 * Clerk Backend API
 *
 * The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
 *
 * The version of the OpenAPI document: v1
 * Contact: support@clerk.dev
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct UpdateOrganizationMembershipMetadataRequest {
    /// Metadata saved on the organization membership, that is visible to both your frontend and backend. The new object will be merged with the existing value.
    #[serde(rename = "public_metadata", skip_serializing_if = "Option::is_none")]
    pub public_metadata: Option<serde_json::Value>,
    /// Metadata saved on the organization membership that is only visible to your backend. The new object will be merged with the existing value.
    #[serde(rename = "private_metadata", skip_serializing_if = "Option::is_none")]
    pub private_metadata: Option<serde_json::Value>,
}

impl UpdateOrganizationMembershipMetadataRequest {
    pub fn new() -> UpdateOrganizationMembershipMetadataRequest {
        UpdateOrganizationMembershipMetadataRequest {
            public_metadata: None,
            private_metadata: None,
        }
    }
}