Enum pages::db::ConnectionOptions
source · [−]pub enum ConnectionOptions {
+ConnectionOptions in pages::db - Rust Enum pages::db::ConnectionOptions
source · [−]Expand description
Connect to databse
Variants
Fresh(Fresh)
fresh connection
Existing(Conn)
existing connection
-Implementations
sourceimpl ConnectionOptions
sourceasync fn connect(self) -> Result<Database, ServiceError>
Auto Trait Implementations
impl !RefUnwindSafe for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl !UnwindSafe for ConnectionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
Returns the argument unchanged.
+Implementations
sourceimpl ConnectionOptions
sourceasync fn connect(self) -> Result<Database, ServiceError>
Auto Trait Implementations
impl !RefUnwindSafe for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl !UnwindSafe for ConnectionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/enum.Login.html b/pages/db/enum.Login.html
index d58f98c..5351d12 100644
--- a/pages/db/enum.Login.html
+++ b/pages/db/enum.Login.html
@@ -1,12 +1,12 @@
-Login in pages::db - Rust pub enum Login<'a> {
+Login in pages::db - Rust Expand description
types of credentials used as identifiers during login
Variants
Username(&'a str)
username as login
Email(&'a str)
email as login
-Trait Implementations
sourceimpl<'de: 'a, 'a> Deserialize<'de> for Login<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl<'a> PartialEq<Login<'a>> for Login<'a>
sourcefn eq(&self, other: &Login<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations
sourceimpl<'de: 'a, 'a> Deserialize<'de> for Login<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl<'a> Eq for Login<'a>
sourceimpl<'a> StructuralEq for Login<'a>
sourceimpl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Login<'a>
impl<'a> Send for Login<'a>
impl<'a> Sync for Login<'a>
impl<'a> Unpin for Login<'a>
impl<'a> UnwindSafe for Login<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<'a> Eq for Login<'a>
sourceimpl<'a> StructuralEq for Login<'a>
sourceimpl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Login<'a>
impl<'a> Send for Login<'a>
impl<'a> Sync for Login<'a>
impl<'a> Unpin for Login<'a>
impl<'a> UnwindSafe for Login<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/fn.get_db.html b/pages/db/fn.get_db.html
index 5fd623f..9e43462 100644
--- a/pages/db/fn.get_db.html
+++ b/pages/db/fn.get_db.html
@@ -1 +1 @@
-get_db in pages::db - Rust
\ No newline at end of file
+get_db in pages::db - Rust
\ No newline at end of file
diff --git a/pages/db/fn.map_register_err.html b/pages/db/fn.map_register_err.html
index e87fbc0..87482f4 100644
--- a/pages/db/fn.map_register_err.html
+++ b/pages/db/fn.map_register_err.html
@@ -1,2 +1,2 @@
-map_register_err in pages::db - Rust Function pages::db::map_register_err
source · [−]fn map_register_err(e: Error) -> ServiceError
Expand description
map postgres errors to ServiceError types
+map_register_err in pages::db - Rust Function pages::db::map_register_err
source · [−]fn map_register_err(e: Error) -> ServiceError
Expand description
map postgres errors to ServiceError types
\ No newline at end of file
diff --git a/pages/db/fn.map_row_not_found_err.html b/pages/db/fn.map_row_not_found_err.html
index 948d049..dc72adb 100644
--- a/pages/db/fn.map_row_not_found_err.html
+++ b/pages/db/fn.map_row_not_found_err.html
@@ -1,2 +1,2 @@
-map_row_not_found_err in pages::db - Rust Function pages::db::map_row_not_found_err
source · [−]pub fn map_row_not_found_err(
e: Error,
row_not_found: ServiceError
) -> ServiceError
Expand description
map custom row not found error to DB error
+map_row_not_found_err in pages::db - Rust Function pages::db::map_row_not_found_err
source · [−]pub fn map_row_not_found_err(
e: Error,
row_not_found: ServiceError
) -> ServiceError
Expand description
map custom row not found error to DB error
\ No newline at end of file
diff --git a/pages/db/fn.now_unix_time_stamp.html b/pages/db/fn.now_unix_time_stamp.html
index c900e4a..a93892c 100644
--- a/pages/db/fn.now_unix_time_stamp.html
+++ b/pages/db/fn.now_unix_time_stamp.html
@@ -1 +1 @@
-now_unix_time_stamp in pages::db - Rust Function pages::db::now_unix_time_stamp
source · [−]fn now_unix_time_stamp() -> OffsetDateTime
\ No newline at end of file
+now_unix_time_stamp in pages::db - Rust Function pages::db::now_unix_time_stamp
source · [−]fn now_unix_time_stamp() -> OffsetDateTime
\ No newline at end of file
diff --git a/pages/db/index.html b/pages/db/index.html
index 756426f..3ad8f13 100644
--- a/pages/db/index.html
+++ b/pages/db/index.html
@@ -1 +1 @@
-pages::db - Rust Structs
Use an existing database pooltype encapsulating username and hashed password of a userData required to register a new userData required to add a new sitedata required to update them email of a userEnums
Connect to databsetypes of credentials used as identifiers during loginFunctions
map postgres errors to ServiceError typesmap custom row not found error to DB error
\ No newline at end of file
+pages::db - Rust Structs
Use an existing database pooltype encapsulating username and hashed password of a userData required to register a new userData required to add a new sitedata required to update them email of a userEnums
Connect to databsetypes of credentials used as identifiers during loginFunctions
map postgres errors to ServiceError typesmap custom row not found error to DB error
\ No newline at end of file
diff --git a/pages/db/struct.Conn.html b/pages/db/struct.Conn.html
index de41f9f..22f9e10 100644
--- a/pages/db/struct.Conn.html
+++ b/pages/db/struct.Conn.html
@@ -1,4 +1,4 @@
-Conn in pages::db - Rust pub struct Conn(pub PgPool);
Expand description
Use an existing database pool
+Conn in pages::db - Rust pub struct Conn(pub PgPool);
Expand description
Use an existing database pool
Tuple Fields
0: PgPool
Auto Trait Implementations
impl !RefUnwindSafe for Conn
impl Send for Conn
impl Sync for Conn
impl Unpin for Conn
impl !UnwindSafe for Conn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
Instruments this type with the current Span
, returning an
diff --git a/pages/db/struct.Database.html b/pages/db/struct.Database.html
index 0252efe..978c697 100644
--- a/pages/db/struct.Database.html
+++ b/pages/db/struct.Database.html
@@ -1,16 +1,16 @@
-Database in pages::db - Rust pub struct Database {
+Database in pages::db - Rust pub struct Database {
pub pool: PgPool,
-}
Fields
pool: PgPool
Implementations
sourceimpl Database
sourcepub async fn migrate(&self) -> Result<(), ServiceError>
sourcepub async fn ping(&self) -> bool
sourcepub async fn register(&self, p: &Register<'_>) -> Result<(), ServiceError>
register a new user
-sourcepub async fn delete_user(&self, username: &str) -> Result<(), ServiceError>
delete a user
-sourcepub async fn username_exists(&self, username: &str) -> Result<bool, ServiceError>
check if username exists
-sourcepub async fn email_exists(&self, email: &str) -> Result<bool, ServiceError>
check if email exists
-sourcepub async fn update_email(&self, p: &UpdateEmail<'_>) -> Result<(), ServiceError>
update a user’s email
-sourcepub async fn get_password(&self, l: &Login<'_>) -> Result<NameHash, ServiceError>
get a user’s password
-sourcepub async fn update_password(&self, p: &NameHash) -> Result<(), ServiceError>
update user’s password
-sourcepub async fn update_username(
&self,
current: &str,
new: &str
) -> Result<(), ServiceError>
update username
-sourcepub async fn add_site(&self, msg: &Site) -> Result<(), ServiceError>
sourcepub async fn get_site_from_secret(
&self,
site_secret: &str
) -> Result<Site, ServiceError>
sourcepub async fn get_site(
&self,
owner: &str,
hostname: &str
) -> Result<Site, ServiceError>
sourcepub async fn list_all_sites(
&self,
owner: &str
) -> Result<Vec<Site>, ServiceError>
sourcepub async fn delete_site(
&self,
owner: &str,
hostname: &str
) -> Result<(), ServiceError>
sourcepub async fn hostname_exists(&self, hostname: &str) -> Result<bool, ServiceError>
check if hostname exists
-Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl !UnwindSafe for Database
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
Returns the argument unchanged.
+}Fields
pool: PgPool
Implementations
sourceimpl Database
sourcepub async fn migrate(&self) -> Result<(), ServiceError>
sourcepub async fn ping(&self) -> bool
sourcepub async fn register(&self, p: &Register<'_>) -> Result<(), ServiceError>
register a new user
+sourcepub async fn delete_user(&self, username: &str) -> Result<(), ServiceError>
delete a user
+sourcepub async fn username_exists(&self, username: &str) -> Result<bool, ServiceError>
check if username exists
+sourcepub async fn email_exists(&self, email: &str) -> Result<bool, ServiceError>
check if email exists
+sourcepub async fn update_email(&self, p: &UpdateEmail<'_>) -> Result<(), ServiceError>
update a user’s email
+sourcepub async fn get_password(&self, l: &Login<'_>) -> Result<NameHash, ServiceError>
get a user’s password
+sourcepub async fn update_password(&self, p: &NameHash) -> Result<(), ServiceError>
update user’s password
+sourcepub async fn update_username(
&self,
current: &str,
new: &str
) -> Result<(), ServiceError>
update username
+sourcepub async fn add_site(&self, msg: &Site) -> Result<(), ServiceError>
sourcepub async fn get_site_from_secret(
&self,
site_secret: &str
) -> Result<Site, ServiceError>
sourcepub async fn get_site(
&self,
owner: &str,
hostname: &str
) -> Result<Site, ServiceError>
sourcepub async fn list_all_sites(
&self,
owner: &str
) -> Result<Vec<Site>, ServiceError>
sourcepub async fn delete_site(
&self,
owner: &str,
hostname: &str
) -> Result<(), ServiceError>
sourcepub async fn hostname_exists(&self, hostname: &str) -> Result<bool, ServiceError>
check if hostname exists
+Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl !UnwindSafe for Database
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/struct.Fresh.html b/pages/db/struct.Fresh.html
index d9c4f5a..80bf712 100644
--- a/pages/db/struct.Fresh.html
+++ b/pages/db/struct.Fresh.html
@@ -1,4 +1,4 @@
-Fresh in pages::db - Rust pub struct Fresh {
+Fresh in pages::db - Rust pub struct Fresh {
pub pool_options: PgPoolOptions,
pub disable_logging: bool,
pub url: String,
diff --git a/pages/db/struct.InnerSite.html b/pages/db/struct.InnerSite.html
index f475f7f..422d1b1 100644
--- a/pages/db/struct.InnerSite.html
+++ b/pages/db/struct.InnerSite.html
@@ -1,9 +1,9 @@
-InnerSite in pages::db - Rust struct InnerSite {
+InnerSite in pages::db - Rust Fields
site_secret: String
repo_url: String
branch: String
hostname: String
Implementations
Auto Trait Implementations
impl RefUnwindSafe for InnerSite
impl Send for InnerSite
impl Sync for InnerSite
impl Unpin for InnerSite
impl UnwindSafe for InnerSite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
Returns the argument unchanged.
+}Fields
site_secret: String
repo_url: String
branch: String
hostname: String
Implementations
Auto Trait Implementations
impl RefUnwindSafe for InnerSite
impl Send for InnerSite
impl Sync for InnerSite
impl Unpin for InnerSite
impl UnwindSafe for InnerSite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/struct.NameHash.html b/pages/db/struct.NameHash.html
index 1e3f69a..e358d44 100644
--- a/pages/db/struct.NameHash.html
+++ b/pages/db/struct.NameHash.html
@@ -1,12 +1,12 @@
-NameHash in pages::db - Rust pub struct NameHash {
+NameHash in pages::db - Rust Expand description
type encapsulating username and hashed password of a user
Fields
username: String
username
hash: String
hashed password
-Trait Implementations
sourceimpl<'de> Deserialize<'de> for NameHash
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl PartialEq<NameHash> for NameHash
sourcefn eq(&self, other: &NameHash) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations
sourceimpl<'de> Deserialize<'de> for NameHash
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl Eq for NameHash
sourceimpl StructuralEq for NameHash
sourceimpl StructuralPartialEq for NameHash
Auto Trait Implementations
impl RefUnwindSafe for NameHash
impl Send for NameHash
impl Sync for NameHash
impl Unpin for NameHash
impl UnwindSafe for NameHash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl Eq for NameHash
sourceimpl StructuralEq for NameHash
sourceimpl StructuralPartialEq for NameHash
Auto Trait Implementations
impl RefUnwindSafe for NameHash
impl Send for NameHash
impl Sync for NameHash
impl Unpin for NameHash
impl UnwindSafe for NameHash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/struct.Register.html b/pages/db/struct.Register.html
index e3c4337..420c59d 100644
--- a/pages/db/struct.Register.html
+++ b/pages/db/struct.Register.html
@@ -1,4 +1,4 @@
-Register in pages::db - Rust pub struct Register<'a> {
+Register in pages::db - Rust pub struct Register<'a> {
pub username: &'a str,
pub hash: &'a str,
pub email: &'a str,
@@ -6,9 +6,9 @@
Fields
username: &'a str
username of new user
hash: &'a str
hashed password of new use
email: &'a str
Optionally, email of new use
-Trait Implementations
sourceimpl<'de: 'a, 'a> Deserialize<'de> for Register<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl<'a> PartialEq<Register<'a>> for Register<'a>
sourcefn eq(&self, other: &Register<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations
sourceimpl<'de: 'a, 'a> Deserialize<'de> for Register<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl<'a> PartialEq<Register<'a>> for Register<'a>
sourceimpl<'a> Eq for Register<'a>
sourceimpl<'a> StructuralEq for Register<'a>
sourceimpl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Register<'a>
impl<'a> Send for Register<'a>
impl<'a> Sync for Register<'a>
impl<'a> Unpin for Register<'a>
impl<'a> UnwindSafe for Register<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<'a> Eq for Register<'a>
sourceimpl<'a> StructuralEq for Register<'a>
sourceimpl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Register<'a>
impl<'a> Send for Register<'a>
impl<'a> Sync for Register<'a>
impl<'a> Unpin for Register<'a>
impl<'a> UnwindSafe for Register<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/struct.Site.html b/pages/db/struct.Site.html
index 882f3d6..72464aa 100644
--- a/pages/db/struct.Site.html
+++ b/pages/db/struct.Site.html
@@ -1,13 +1,13 @@
-Site in pages::db - Rust pub struct Site {
+Site in pages::db - Rust pub struct Site {
pub site_secret: String,
pub repo_url: String,
pub branch: String,
pub hostname: String,
pub owner: String,
}
Expand description
Data required to add a new site
-Fields
site_secret: String
repo_url: String
branch: String
hostname: String
owner: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Site
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl PartialEq<Site> for Site
sourcefn eq(&self, other: &Site) -> bool
This method tests for self
and other
values to be equal, and is used
+Fields
site_secret: String
repo_url: String
branch: String
hostname: String
owner: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Site
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl Eq for Site
sourceimpl StructuralEq for Site
sourceimpl StructuralPartialEq for Site
Auto Trait Implementations
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnwindSafe for Site
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl Eq for Site
sourceimpl StructuralEq for Site
sourceimpl StructuralPartialEq for Site
Auto Trait Implementations
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnwindSafe for Site
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/db/struct.UpdateEmail.html b/pages/db/struct.UpdateEmail.html
index 749b170..b20cb98 100644
--- a/pages/db/struct.UpdateEmail.html
+++ b/pages/db/struct.UpdateEmail.html
@@ -1,12 +1,12 @@
-UpdateEmail in pages::db - Rust Struct pages::db::UpdateEmail
source · [−]pub struct UpdateEmail<'a> {
+UpdateEmail in pages::db - Rust Struct pages::db::UpdateEmail
source · [−]Expand description
data required to update them email of a user
Fields
username: &'a str
username of the user
new_email: &'a str
new email address of the user
-Trait Implementations
sourceimpl<'a> Clone for UpdateEmail<'a>
sourcefn clone(&self) -> UpdateEmail<'a>
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl<'a> Debug for UpdateEmail<'a>
sourceimpl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>
sourcefn eq(&self, other: &UpdateEmail<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations
sourceimpl<'a> Clone for UpdateEmail<'a>
sourcefn clone(&self) -> UpdateEmail<'a>
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl<'a> Debug for UpdateEmail<'a>
sourceimpl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>
sourcefn eq(&self, other: &UpdateEmail<'a>) -> bool
sourceimpl<'a> Serialize for UpdateEmail<'a>
sourceimpl<'a> Eq for UpdateEmail<'a>
sourceimpl<'a> StructuralEq for UpdateEmail<'a>
sourceimpl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateEmail<'a>
impl<'a> Send for UpdateEmail<'a>
impl<'a> Sync for UpdateEmail<'a>
impl<'a> Unpin for UpdateEmail<'a>
impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<'a> Serialize for UpdateEmail<'a>
sourceimpl<'a> Eq for UpdateEmail<'a>
sourceimpl<'a> StructuralEq for UpdateEmail<'a>
sourceimpl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateEmail<'a>
impl<'a> Send for UpdateEmail<'a>
impl<'a> Sync for UpdateEmail<'a>
impl<'a> Unpin for UpdateEmail<'a>
impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/deploy/fn.services.html b/pages/deploy/fn.services.html
index efa7c13..277414f 100644
--- a/pages/deploy/fn.services.html
+++ b/pages/deploy/fn.services.html
@@ -1 +1 @@
-services in pages::deploy - Rust
\ No newline at end of file
+services in pages::deploy - Rust
\ No newline at end of file
diff --git a/pages/deploy/index.html b/pages/deploy/index.html
index 770a1fb..25b6e56 100644
--- a/pages/deploy/index.html
+++ b/pages/deploy/index.html
@@ -1 +1 @@
-pages::deploy - Rust
\ No newline at end of file
+pages::deploy - Rust
\ No newline at end of file
diff --git a/pages/deploy/routes/index.html b/pages/deploy/routes/index.html
index 12490d5..415f36d 100644
--- a/pages/deploy/routes/index.html
+++ b/pages/deploy/routes/index.html
@@ -1 +1 @@
-pages::deploy::routes - Rust
\ No newline at end of file
+pages::deploy::routes - Rust
\ No newline at end of file
diff --git a/pages/deploy/routes/struct.Deploy.html b/pages/deploy/routes/struct.Deploy.html
index ada65e2..6050dc4 100644
--- a/pages/deploy/routes/struct.Deploy.html
+++ b/pages/deploy/routes/struct.Deploy.html
@@ -1,7 +1,7 @@
-Deploy in pages::deploy::routes - Rust pub struct Deploy {
+Deploy in pages::deploy::routes - Rust Fields
update: &'static str
info: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Deploy
impl Send for Deploy
impl Sync for Deploy
impl Unpin for Deploy
impl UnwindSafe for Deploy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
Returns the argument unchanged.
+}Fields
update: &'static str
info: &'static str
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Deploy
impl Send for Deploy
impl Sync for Deploy
impl Unpin for Deploy
impl UnwindSafe for Deploy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/deploy/struct.DeployEvent.html b/pages/deploy/struct.DeployEvent.html
index 92cc38a..3a71255 100644
--- a/pages/deploy/struct.DeployEvent.html
+++ b/pages/deploy/struct.DeployEvent.html
@@ -1,7 +1,7 @@
-DeployEvent in pages::deploy - Rust Struct pages::deploy::DeployEvent
source · [−]pub struct DeployEvent {
+DeployEvent in pages::deploy - Rust Struct pages::deploy::DeployEvent
source · [−]Fields
secret: String
branch: String
Trait Implementations
sourceimpl Clone for DeployEvent
sourcefn clone(&self) -> DeployEvent
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl Debug for DeployEvent
sourceimpl<'de> Deserialize<'de> for DeployEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl Serialize for DeployEvent
Auto Trait Implementations
impl RefUnwindSafe for DeployEvent
impl Send for DeployEvent
impl Sync for DeployEvent
impl Unpin for DeployEvent
impl UnwindSafe for DeployEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
Returns the argument unchanged.
+}Fields
secret: String
branch: String
Trait Implementations
sourceimpl Clone for DeployEvent
sourcefn clone(&self) -> DeployEvent
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl Debug for DeployEvent
sourceimpl<'de> Deserialize<'de> for DeployEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl Serialize for DeployEvent
Auto Trait Implementations
impl RefUnwindSafe for DeployEvent
impl Send for DeployEvent
impl Sync for DeployEvent
impl Unpin for DeployEvent
impl UnwindSafe for DeployEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/deploy/struct.DeployInfo.html b/pages/deploy/struct.DeployInfo.html
index 1dd19e1..1c2caa1 100644
--- a/pages/deploy/struct.DeployInfo.html
+++ b/pages/deploy/struct.DeployInfo.html
@@ -1,10 +1,10 @@
-DeployInfo in pages::deploy - Rust Struct pages::deploy::DeployInfo
source · [−]pub struct DeployInfo {
+DeployInfo in pages::deploy - Rust Struct pages::deploy::DeployInfo
source · [−]Fields
head: String
remote: String
commit: String
Implementations
sourceimpl DeployInfo
sourcepub fn from_page(page: &Page) -> Result<Self, ServiceError>
Trait Implementations
sourceimpl Clone for DeployInfo
sourcefn clone(&self) -> DeployInfo
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl Debug for DeployInfo
sourceimpl<'de> Deserialize<'de> for DeployInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl PartialEq<DeployInfo> for DeployInfo
sourcefn eq(&self, other: &DeployInfo) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields
head: String
remote: String
commit: String
Implementations
sourceimpl DeployInfo
sourcepub fn from_page(page: &Page) -> Result<Self, ServiceError>
Trait Implementations
sourceimpl Clone for DeployInfo
sourcefn clone(&self) -> DeployInfo
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl Debug for DeployInfo
sourceimpl<'de> Deserialize<'de> for DeployInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl PartialEq<DeployInfo> for DeployInfo
sourcefn eq(&self, other: &DeployInfo) -> bool
sourceimpl Serialize for DeployInfo
sourceimpl Eq for DeployInfo
sourceimpl StructuralEq for DeployInfo
sourceimpl StructuralPartialEq for DeployInfo
Auto Trait Implementations
impl RefUnwindSafe for DeployInfo
impl Send for DeployInfo
impl Sync for DeployInfo
impl Unpin for DeployInfo
impl UnwindSafe for DeployInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl Serialize for DeployInfo
sourceimpl Eq for DeployInfo
sourceimpl StructuralEq for DeployInfo
sourceimpl StructuralPartialEq for DeployInfo
Auto Trait Implementations
impl RefUnwindSafe for DeployInfo
impl Send for DeployInfo
impl Sync for DeployInfo
impl Unpin for DeployInfo
impl UnwindSafe for DeployInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/deploy/struct.DeploySecret.html b/pages/deploy/struct.DeploySecret.html
index 273f33e..6247c0f 100644
--- a/pages/deploy/struct.DeploySecret.html
+++ b/pages/deploy/struct.DeploySecret.html
@@ -1,8 +1,8 @@
-DeploySecret in pages::deploy - Rust Struct pages::deploy::DeploySecret
source · [−]pub struct DeploySecret {
+DeploySecret in pages::deploy - Rust Struct pages::deploy::DeploySecret
source · [−]pub struct DeploySecret {
pub secret: String,
-}
Fields
secret: String
Trait Implementations
sourceimpl Clone for DeploySecret
sourcefn clone(&self) -> DeploySecret
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl Debug for DeploySecret
sourceimpl<'de> Deserialize<'de> for DeploySecret
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl PartialEq<DeploySecret> for DeploySecret
sourcefn eq(&self, other: &DeploySecret) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields
secret: String
Trait Implementations
sourceimpl Clone for DeploySecret
sourcefn clone(&self) -> DeploySecret
Returns a copy of the value. Read more1.0.0 · sourcefn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresourceimpl Debug for DeploySecret
sourceimpl<'de> Deserialize<'de> for DeploySecret
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresourceimpl PartialEq<DeploySecret> for DeploySecret
sourcefn eq(&self, other: &DeploySecret) -> bool
sourceimpl Serialize for DeploySecret
sourceimpl Eq for DeploySecret
sourceimpl StructuralEq for DeploySecret
sourceimpl StructuralPartialEq for DeploySecret
Auto Trait Implementations
impl RefUnwindSafe for DeploySecret
impl Send for DeploySecret
impl Sync for DeploySecret
impl Unpin for DeploySecret
impl UnwindSafe for DeploySecret
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl Serialize for DeploySecret
sourceimpl Eq for DeploySecret
sourceimpl StructuralEq for DeploySecret
sourceimpl StructuralPartialEq for DeploySecret
Auto Trait Implementations
impl RefUnwindSafe for DeploySecret
impl Send for DeploySecret
impl Sync for DeploySecret
impl Unpin for DeploySecret
impl UnwindSafe for DeploySecret
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.sourceimpl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
Calls U::from(self)
.
diff --git a/pages/deploy/struct.deploy_info.html b/pages/deploy/struct.deploy_info.html
index a486651..c1b2f65 100644
--- a/pages/deploy/struct.deploy_info.html
+++ b/pages/deploy/struct.deploy_info.html
@@ -1,4 +1,4 @@
-deploy_info in pages::deploy - Rust