Struct slack_morphism::SlackTeamProfile
source · pub struct SlackTeamProfile {
pub fields: Vec<SlackTeamProfileField>,
}
Fields§
§fields: Vec<SlackTeamProfileField>
Implementations§
source§impl SlackTeamProfile
impl SlackTeamProfile
pub fn new(fields: Vec<SlackTeamProfileField>) -> Self
pub fn fields(&mut self, value: Vec<SlackTeamProfileField>) -> &mut Self
pub fn with_fields(self, value: Vec<SlackTeamProfileField>) -> Self
Trait Implementations§
source§impl Clone for SlackTeamProfile
impl Clone for SlackTeamProfile
source§fn clone(&self) -> SlackTeamProfile
fn clone(&self) -> SlackTeamProfile
Returns a copy 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 SlackTeamProfile
impl Debug for SlackTeamProfile
source§impl<'de> Deserialize<'de> for SlackTeamProfile
impl<'de> Deserialize<'de> for SlackTeamProfile
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 From<SlackTeamProfileInit> for SlackTeamProfile
impl From<SlackTeamProfileInit> for SlackTeamProfile
source§fn from(value: SlackTeamProfileInit) -> Self
fn from(value: SlackTeamProfileInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackTeamProfile
impl PartialEq for SlackTeamProfile
source§fn eq(&self, other: &SlackTeamProfile) -> bool
fn eq(&self, other: &SlackTeamProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SlackTeamProfile
impl Serialize for SlackTeamProfile
impl StructuralPartialEq for SlackTeamProfile
Auto Trait Implementations§
impl RefUnwindSafe for SlackTeamProfile
impl Send for SlackTeamProfile
impl Sync for SlackTeamProfile
impl Unpin for SlackTeamProfile
impl UnwindSafe for SlackTeamProfile
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