pub struct Organization { /* private fields */ }Expand description
Organization primitive.
Implementations§
Source§impl Organization
impl Organization
Sourcepub fn with_address(self, address: PostalAddress) -> Self
pub fn with_address(self, address: PostalAddress) -> Self
Sets a postal address.
Sourcepub const fn schema_type(&self) -> &'static str
pub const fn schema_type(&self) -> &'static str
Returns the schema-like type label.
Trait Implementations§
Source§impl Clone for Organization
impl Clone for Organization
Source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Organization
impl Debug for Organization
Source§impl PartialEq for Organization
impl PartialEq for Organization
Source§fn eq(&self, other: &Organization) -> bool
fn eq(&self, other: &Organization) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Organization
impl StructuralPartialEq for Organization
Auto Trait Implementations§
impl Freeze for Organization
impl RefUnwindSafe for Organization
impl Send for Organization
impl Sync for Organization
impl Unpin for Organization
impl UnsafeUnpin for Organization
impl UnwindSafe for Organization
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