pub struct UpdateThingGroupsForThingRequest {
pub override_dynamic_groups: Option<bool>,
pub thing_groups_to_add: Option<Vec<String>>,
pub thing_groups_to_remove: Option<Vec<String>>,
pub thing_name: Option<String>,
}Fields§
§override_dynamic_groups: Option<bool>Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
thing_groups_to_add: Option<Vec<String>>The groups to which the thing will be added.
thing_groups_to_remove: Option<Vec<String>>The groups from which the thing will be removed.
thing_name: Option<String>The thing whose group memberships will be updated.
Trait Implementations§
Source§impl Clone for UpdateThingGroupsForThingRequest
impl Clone for UpdateThingGroupsForThingRequest
Source§fn clone(&self) -> UpdateThingGroupsForThingRequest
fn clone(&self) -> UpdateThingGroupsForThingRequest
Returns a duplicate 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 Default for UpdateThingGroupsForThingRequest
impl Default for UpdateThingGroupsForThingRequest
Source§fn default() -> UpdateThingGroupsForThingRequest
fn default() -> UpdateThingGroupsForThingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateThingGroupsForThingRequest
impl PartialEq for UpdateThingGroupsForThingRequest
Source§fn eq(&self, other: &UpdateThingGroupsForThingRequest) -> bool
fn eq(&self, other: &UpdateThingGroupsForThingRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateThingGroupsForThingRequest
Auto Trait Implementations§
impl Freeze for UpdateThingGroupsForThingRequest
impl RefUnwindSafe for UpdateThingGroupsForThingRequest
impl Send for UpdateThingGroupsForThingRequest
impl Sync for UpdateThingGroupsForThingRequest
impl Unpin for UpdateThingGroupsForThingRequest
impl UnwindSafe for UpdateThingGroupsForThingRequest
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