pub struct AddOrganizationRelationshipRequest {
pub org_id: Option<i32>,
pub type: Type,
pub rel_owner_org_id: i32,
pub rel_linked_org_id: i32,
}
Fields§
§org_id: Option<i32>
The ID of the base organization for the returned calculated values
type: Type
The type of organization relationship
rel_owner_org_id: i32
The owner of the relationship. If type is parent
, then the owner is the parent and the linked organization is the daughter.
rel_linked_org_id: i32
The linked organization in the relationship. If type is parent
, then the linked organization is the daughter.
Implementations§
Trait Implementations§
Source§impl Clone for AddOrganizationRelationshipRequest
impl Clone for AddOrganizationRelationshipRequest
Source§fn clone(&self) -> AddOrganizationRelationshipRequest
fn clone(&self) -> AddOrganizationRelationshipRequest
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<'de> Deserialize<'de> for AddOrganizationRelationshipRequest
impl<'de> Deserialize<'de> for AddOrganizationRelationshipRequest
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 AddOrganizationRelationshipRequest
impl PartialEq for AddOrganizationRelationshipRequest
Source§fn eq(&self, other: &AddOrganizationRelationshipRequest) -> bool
fn eq(&self, other: &AddOrganizationRelationshipRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AddOrganizationRelationshipRequest
Auto Trait Implementations§
impl Freeze for AddOrganizationRelationshipRequest
impl RefUnwindSafe for AddOrganizationRelationshipRequest
impl Send for AddOrganizationRelationshipRequest
impl Sync for AddOrganizationRelationshipRequest
impl Unpin for AddOrganizationRelationshipRequest
impl UnwindSafe for AddOrganizationRelationshipRequest
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