Struct samling::UpdateGroup
source · pub struct UpdateGroup {
pub slug: Option<Slug<Group>>,
pub external_id: Option<ExternalId<Group>>,
pub name: Option<String>,
pub description: Option<String>,
pub users: Option<Vec<Ref<User>>>,
pub collections: Option<Vec<Ref<Collection>>>,
pub price_lists: Option<Vec<Ref<PriceList>>>,
}Fields§
§slug: Option<Slug<Group>>§external_id: Option<ExternalId<Group>>§name: Option<String>§description: Option<String>§users: Option<Vec<Ref<User>>>§collections: Option<Vec<Ref<Collection>>>§price_lists: Option<Vec<Ref<PriceList>>>Trait Implementations§
source§impl Clone for UpdateGroup
impl Clone for UpdateGroup
source§fn clone(&self) -> UpdateGroup
fn clone(&self) -> UpdateGroup
Returns a copy of the value. Read more
1.0.0 · 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 UpdateGroup
impl Debug for UpdateGroup
source§impl<'de> Deserialize<'de> for UpdateGroup
impl<'de> Deserialize<'de> for UpdateGroup
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 ExternalIdEntity for UpdateGroup
impl ExternalIdEntity for UpdateGroup
type RefTarget = Group
fn external_id(&self) -> Option<ExternalId<Self::RefTarget>>
fn set_external_id(&mut self, value: ExternalId<Self::RefTarget>)
fn update_external_id_from_ref(&mut self, ref_: &Ref<Self::RefTarget>)
fn ensure_available_external_id<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 impl 'async_trait + GenericClient,
organization_id: Id<Organization>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl From<CreateGroup> for UpdateGroup
impl From<CreateGroup> for UpdateGroup
source§fn from(data: CreateGroup) -> Self
fn from(data: CreateGroup) -> Self
Converts to this type from the input type.
source§impl JsonSchema for UpdateGroup
impl JsonSchema for UpdateGroup
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read more