pub struct AddOrganizationRequest {
pub name: String,
pub add_time: Option<String>,
pub owner_id: Option<i32>,
pub visible_to: Option<VisibleTo>,
}Fields§
§name: StringThe name of the organization
add_time: Option<String>The optional creation date & time of the organization in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
owner_id: Option<i32>The ID of the user who will be marked as the owner of this organization. When omitted, the authorized user ID will be used.
visible_to: Option<VisibleTo>Implementations§
Source§impl AddOrganizationRequest
impl AddOrganizationRequest
pub fn new(name: String) -> AddOrganizationRequest
Trait Implementations§
Source§impl Clone for AddOrganizationRequest
impl Clone for AddOrganizationRequest
Source§fn clone(&self) -> AddOrganizationRequest
fn clone(&self) -> AddOrganizationRequest
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 Debug for AddOrganizationRequest
impl Debug for AddOrganizationRequest
Source§impl<'de> Deserialize<'de> for AddOrganizationRequest
impl<'de> Deserialize<'de> for AddOrganizationRequest
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 AddOrganizationRequest
impl PartialEq for AddOrganizationRequest
Source§impl Serialize for AddOrganizationRequest
impl Serialize for AddOrganizationRequest
impl StructuralPartialEq for AddOrganizationRequest
Auto Trait Implementations§
impl Freeze for AddOrganizationRequest
impl RefUnwindSafe for AddOrganizationRequest
impl Send for AddOrganizationRequest
impl Sync for AddOrganizationRequest
impl Unpin for AddOrganizationRequest
impl UnwindSafe for AddOrganizationRequest
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