pub struct OracleConnect {
pub connection_string: String,
pub username: String,
pub password: String,
}Fields§
§connection_string: String§username: String§password: StringImplementations§
Source§impl OracleConnect
impl OracleConnect
Source§impl OracleConnect
impl OracleConnect
Trait Implementations§
Source§impl Clone for OracleConnect
impl Clone for OracleConnect
Source§fn clone(&self) -> OracleConnect
fn clone(&self) -> OracleConnect
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 Debug for OracleConnect
impl Debug for OracleConnect
Source§impl QueryBuilder for OracleConnect
impl QueryBuilder for OracleConnect
Source§fn select(&self, table: &str, columns: Vec<Column>) -> SelectProps
fn select(&self, table: &str, columns: Vec<Column>) -> SelectProps
Creates a new
SelectProps to start building out a select query. Read moreSource§fn update(&self, table: &str) -> UpdateProps
fn update(&self, table: &str) -> UpdateProps
Creates a new
UpdateProps to start building out an update query. Read moreSource§fn insert<T: ToSQLData>(
&self,
table: &str,
data: Vec<Vec<T>>,
) -> Result<InsertProps, Error>
fn insert<T: ToSQLData>( &self, table: &str, data: Vec<Vec<T>>, ) -> Result<InsertProps, Error>
Creates a new
InsertProps to start building out an insert query. Read moreSource§fn create(&self) -> CreateProps
fn create(&self) -> CreateProps
Creates a new
CreateProps to start building a create query. Read moreSource§fn alter(&self) -> AlterProps
fn alter(&self) -> AlterProps
Creates a new
AlterProps to start the process of altering a table or column(s). Read moreSource§fn delete(&self, table: &str) -> DeleteProps
fn delete(&self, table: &str) -> DeleteProps
Creates a new
DeleteProps which allows you delete rows based on criteria passed in the where methods added to the struct.
Will delete everything in the table if no where clause added. Read moreAuto Trait Implementations§
impl Freeze for OracleConnect
impl RefUnwindSafe for OracleConnect
impl Send for OracleConnect
impl Sync for OracleConnect
impl Unpin for OracleConnect
impl UnwindSafe for OracleConnect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more