diff --git a/guard/all.html b/guard/all.html index 01d73c89..2929ddb4 100644 --- a/guard/all.html +++ b/guard/all.html @@ -3,5 +3,5 @@

List of all items[] -

Structs

Enums

Macros

Functions

Typedefs

Statics

Constants

+

Structs

Enums

Macros

Functions

Typedefs

Statics

Constants

\ No newline at end of file diff --git a/guard/api/v1/notifications/fn.services.html b/guard/api/v1/notifications/fn.services.html index 5fe0ebf5..da1f3114 100644 --- a/guard/api/v1/notifications/fn.services.html +++ b/guard/api/v1/notifications/fn.services.html @@ -1,5 +1,5 @@ guard::api::v1::notifications::services - Rust

Function guard::api::v1::notifications::services[][src]

pub fn services(cfg: &mut ServiceConfig)
+ Change settings

Function guard::api::v1::notifications::services[][src]

pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/guard/api/v1/notifications/index.html b/guard/api/v1/notifications/index.html index fc8e09f0..94bc6b26 100644 --- a/guard/api/v1/notifications/index.html +++ b/guard/api/v1/notifications/index.html @@ -1,7 +1,7 @@ guard::api::v1::notifications - Rust

Module guard::api::v1::notifications[][src]

Modules

-
add
get
routes

Functions

+ Change settings

Module guard::api::v1::notifications[][src]

Modules

+
add
get
mark_read
routes

Functions

services
\ No newline at end of file diff --git a/guard/api/v1/notifications/mark_read/index.html b/guard/api/v1/notifications/mark_read/index.html new file mode 100644 index 00000000..ecec2270 --- /dev/null +++ b/guard/api/v1/notifications/mark_read/index.html @@ -0,0 +1,7 @@ +guard::api::v1::notifications::mark_read - Rust + +

Module guard::api::v1::notifications::mark_read[][src]

Structs

+
MarkReadReq
NotificationResp
mark_read

route handler that marks a notification read

+
+ \ No newline at end of file diff --git a/guard/api/v1/notifications/mark_read/sidebar-items.js b/guard/api/v1/notifications/mark_read/sidebar-items.js new file mode 100644 index 00000000..16ad4a74 --- /dev/null +++ b/guard/api/v1/notifications/mark_read/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["MarkReadReq",""],["NotificationResp",""],["mark_read","route handler that marks a notification read"]]}); \ No newline at end of file diff --git a/guard/api/v1/notifications/mark_read/struct.MarkReadReq.html b/guard/api/v1/notifications/mark_read/struct.MarkReadReq.html new file mode 100644 index 00000000..b3a1a830 --- /dev/null +++ b/guard/api/v1/notifications/mark_read/struct.MarkReadReq.html @@ -0,0 +1,117 @@ +guard::api::v1::notifications::mark_read::MarkReadReq - Rust + +

Struct guard::api::v1::notifications::mark_read::MarkReadReq[][src]

pub struct MarkReadReq {
+    pub id: i32,
+}

+ Fields

id: i32

Trait Implementations

impl<'de> Deserialize<'de> for MarkReadReq[src]

impl Serialize for MarkReadReq[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/guard/api/v1/notifications/mark_read/struct.NotificationResp.html b/guard/api/v1/notifications/mark_read/struct.NotificationResp.html new file mode 100644 index 00000000..d06ad7e1 --- /dev/null +++ b/guard/api/v1/notifications/mark_read/struct.NotificationResp.html @@ -0,0 +1,121 @@ +guard::api::v1::notifications::mark_read::NotificationResp - Rust + +

Struct guard::api::v1::notifications::mark_read::NotificationResp[][src]

pub struct NotificationResp {
+    pub name: String,
+    pub heading: String,
+    pub message: String,
+    pub received: i64,
+    pub id: i32,
+}

+ Fields

name: Stringheading: Stringmessage: Stringreceived: i64id: i32

Trait Implementations

impl<'de> Deserialize<'de> for NotificationResp[src]

impl Serialize for NotificationResp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/guard/api/v1/notifications/mark_read/struct.mark_read.html b/guard/api/v1/notifications/mark_read/struct.mark_read.html new file mode 100644 index 00000000..526f5432 --- /dev/null +++ b/guard/api/v1/notifications/mark_read/struct.mark_read.html @@ -0,0 +1,113 @@ +guard::api::v1::notifications::mark_read::mark_read - Rust + +

Struct guard::api::v1::notifications::mark_read::mark_read[][src]

pub struct mark_read;

route handler that marks a notification read

+

Trait Implementations

impl HttpServiceFactory for mark_read[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/guard/api/v1/notifications/routes/index.html b/guard/api/v1/notifications/routes/index.html index 6d843a13..a2efdb20 100644 --- a/guard/api/v1/notifications/routes/index.html +++ b/guard/api/v1/notifications/routes/index.html @@ -1,6 +1,6 @@ guard::api::v1::notifications::routes - Rust

Module guard::api::v1::notifications::routes[][src]

Structs

+ Change settings

Module guard::api::v1::notifications::routes[][src]

Structs

Notifications
\ No newline at end of file diff --git a/guard/api/v1/notifications/routes/struct.Notifications.html b/guard/api/v1/notifications/routes/struct.Notifications.html index 81a35a79..b4f1d1ef 100644 --- a/guard/api/v1/notifications/routes/struct.Notifications.html +++ b/guard/api/v1/notifications/routes/struct.Notifications.html @@ -1,12 +1,12 @@ guard::api::v1::notifications::routes::Notifications - Rust

Struct guard::api::v1::notifications::routes::Notifications[][src]

pub struct Notifications {
+                Change settings

Struct guard::api::v1::notifications::routes::Notifications[][src]

pub struct Notifications {
     pub add: &'static str,
     pub mark_read: &'static str,
     pub get: &'static str,
 }

- Fields

add: &'static strmark_read: &'static strget: &'static str

Implementations

impl Notifications[src]

pub const fn new() -> Notifications[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]