pub struct ConnectToMongoDbTaskProperties {
pub project_task_properties: ProjectTaskProperties,
pub input: Option<MongoDbConnectionInfo>,
pub output: Vec<MongoDbClusterInfo>,
}
Expand description
Properties for the task that validates the connection to and provides information about a MongoDB server
Fields§
§project_task_properties: ProjectTaskProperties
§input: Option<MongoDbConnectionInfo>
Describes a connection to a MongoDB data source
output: Vec<MongoDbClusterInfo>
An array containing a single MongoDbClusterInfo object
Implementations§
Source§impl ConnectToMongoDbTaskProperties
impl ConnectToMongoDbTaskProperties
pub fn new(project_task_properties: ProjectTaskProperties) -> Self
Trait Implementations§
Source§impl Clone for ConnectToMongoDbTaskProperties
impl Clone for ConnectToMongoDbTaskProperties
Source§fn clone(&self) -> ConnectToMongoDbTaskProperties
fn clone(&self) -> ConnectToMongoDbTaskProperties
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 ConnectToMongoDbTaskProperties
impl<'de> Deserialize<'de> for ConnectToMongoDbTaskProperties
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 ConnectToMongoDbTaskProperties
impl PartialEq for ConnectToMongoDbTaskProperties
Source§fn eq(&self, other: &ConnectToMongoDbTaskProperties) -> bool
fn eq(&self, other: &ConnectToMongoDbTaskProperties) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ConnectToMongoDbTaskProperties
Auto Trait Implementations§
impl Freeze for ConnectToMongoDbTaskProperties
impl RefUnwindSafe for ConnectToMongoDbTaskProperties
impl Send for ConnectToMongoDbTaskProperties
impl Sync for ConnectToMongoDbTaskProperties
impl Unpin for ConnectToMongoDbTaskProperties
impl UnwindSafe for ConnectToMongoDbTaskProperties
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