#[non_exhaustive]pub struct MigrationExchangeRequest {
pub users: Vec<Value>,
pub team_id: Option<String>,
pub to_old: Option<bool>,
}Expand description
Arguments for the Slack Web API method migration.exchange: For Enterprise organization workspaces, map local user IDs to global user IDs
Send it with SlackClient::migration_exchange.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.users: Vec<Value>A comma-separated list of user ids, up to 400 per request
team_id: Option<String>Specify team_id starts with T in case of Org Token
to_old: Option<bool>Specify true to convert W global user IDs to workspace-specific U IDs. Defaults to false.
Implementations§
Trait Implementations§
Source§impl Clone for MigrationExchangeRequest
impl Clone for MigrationExchangeRequest
Source§impl Debug for MigrationExchangeRequest
impl Debug for MigrationExchangeRequest
Source§impl PartialEq for MigrationExchangeRequest
impl PartialEq for MigrationExchangeRequest
Source§impl Serialize for MigrationExchangeRequest
impl Serialize for MigrationExchangeRequest
impl StructuralPartialEq for MigrationExchangeRequest
Auto Trait Implementations§
impl Freeze for MigrationExchangeRequest
impl RefUnwindSafe for MigrationExchangeRequest
impl Send for MigrationExchangeRequest
impl Sync for MigrationExchangeRequest
impl Unpin for MigrationExchangeRequest
impl UnsafeUnpin for MigrationExchangeRequest
impl UnwindSafe for MigrationExchangeRequest
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