pipedrive_rs/models/
get_organizations_response200_all_of_related_objects.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GetOrganizationsResponse200AllOfRelatedObjects {
16 #[serde(rename = "organization", skip_serializing_if = "Option::is_none")]
17 pub organization: Option<Box<crate::models::GetActivitiesResponse200RelatedObjectsOrganization>>,
18 #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
19 pub user: Option<Box<crate::models::GetActivitiesResponse200RelatedObjectsUser>>,
20 #[serde(rename = "picture", skip_serializing_if = "Option::is_none")]
21 pub picture: Option<Box<crate::models::GetOrganizationsResponse200AllOfRelatedObjectsPicture>>,
22}
23
24impl GetOrganizationsResponse200AllOfRelatedObjects {
25 pub fn new() -> GetOrganizationsResponse200AllOfRelatedObjects {
26 GetOrganizationsResponse200AllOfRelatedObjects {
27 organization: None,
28 user: None,
29 picture: None,
30 }
31 }
32}
33
34