pub struct UpdateOrganizationRequest {
pub name: Option<String>,
pub owner_id: Option<i32>,
pub visible_to: Option<VisibleTo>,
}Fields§
§name: Option<String>The name of the organization
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 UpdateOrganizationRequest
impl UpdateOrganizationRequest
pub fn new() -> UpdateOrganizationRequest
Trait Implementations§
Source§impl Clone for UpdateOrganizationRequest
impl Clone for UpdateOrganizationRequest
Source§fn clone(&self) -> UpdateOrganizationRequest
fn clone(&self) -> UpdateOrganizationRequest
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 UpdateOrganizationRequest
impl Debug for UpdateOrganizationRequest
Source§impl<'de> Deserialize<'de> for UpdateOrganizationRequest
impl<'de> Deserialize<'de> for UpdateOrganizationRequest
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
impl StructuralPartialEq for UpdateOrganizationRequest
Auto Trait Implementations§
impl Freeze for UpdateOrganizationRequest
impl RefUnwindSafe for UpdateOrganizationRequest
impl Send for UpdateOrganizationRequest
impl Sync for UpdateOrganizationRequest
impl Unpin for UpdateOrganizationRequest
impl UnwindSafe for UpdateOrganizationRequest
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