#[non_exhaustive]pub struct SlackSource {
pub channels: Vec<SlackChannels>,
/* private fields */
}Expand description
The Slack source for the ImportRagFilesRequest.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.channels: Vec<SlackChannels>Required. The Slack channels.
Implementations§
Source§impl SlackSource
impl SlackSource
pub fn new() -> Self
Sourcepub fn set_channels<T, V>(self, v: T) -> Self
pub fn set_channels<T, V>(self, v: T) -> Self
Sets the value of channels.
Trait Implementations§
Source§impl Clone for SlackSource
impl Clone for SlackSource
Source§fn clone(&self) -> SlackSource
fn clone(&self) -> SlackSource
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 SlackSource
impl Debug for SlackSource
Source§impl Default for SlackSource
impl Default for SlackSource
Source§fn default() -> SlackSource
fn default() -> SlackSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlackSourcewhere
SlackSource: Default,
impl<'de> Deserialize<'de> for SlackSourcewhere
SlackSource: Default,
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 Message for SlackSource
impl Message for SlackSource
Source§impl PartialEq for SlackSource
impl PartialEq for SlackSource
Source§impl Serialize for SlackSource
impl Serialize for SlackSource
impl StructuralPartialEq for SlackSource
Auto Trait Implementations§
impl Freeze for SlackSource
impl RefUnwindSafe for SlackSource
impl Send for SlackSource
impl Sync for SlackSource
impl Unpin for SlackSource
impl UnwindSafe for SlackSource
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