Formatting fixes.
This commit is contained in:
parent
f6bc55bd39
commit
f58f4c073b
@ -1,14 +1,14 @@
|
||||
//! Endpoints for managing devices.
|
||||
|
||||
use ruma_identifiers::DeviceId;
|
||||
use js_int::UInt;
|
||||
use ruma_identifiers::DeviceId;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
pub mod bulk_delete_devices;
|
||||
pub mod delete_device;
|
||||
pub mod get_device;
|
||||
pub mod get_devices;
|
||||
pub mod set_device;
|
||||
pub mod delete_device;
|
||||
|
||||
/// Information about a registered device.
|
||||
#[derive(Clone, Debug, Deserialize, Hash, PartialEq, Serialize)]
|
||||
|
@ -1,8 +1,8 @@
|
||||
//! [DELETE /_matrix/client/r0/devices/{deviceId}](https://matrix.org/docs/spec/client_server/r0.6.0#delete-matrix-client-r0-devices-deviceid)
|
||||
|
||||
use crate::r0::account::AuthenticationData;
|
||||
use ruma_api::ruma_api;
|
||||
use ruma_identifiers::DeviceId;
|
||||
use crate::r0::account::AuthenticationData;
|
||||
|
||||
ruma_api! {
|
||||
metadata {
|
||||
@ -22,4 +22,4 @@ ruma_api! {
|
||||
}
|
||||
|
||||
response {}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
//! [GET /_matrix/client/r0/devices/{deviceId}](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-devices-deviceid)
|
||||
|
||||
use super::Device;
|
||||
use ruma_api::ruma_api;
|
||||
use ruma_identifiers::DeviceId;
|
||||
use super::Device;
|
||||
|
||||
ruma_api! {
|
||||
metadata {
|
||||
|
@ -1,7 +1,7 @@
|
||||
//! [GET /_matrix/client/r0/devices](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-devices)
|
||||
|
||||
use ruma_api::ruma_api;
|
||||
use super::Device;
|
||||
use ruma_api::ruma_api;
|
||||
|
||||
ruma_api! {
|
||||
metadata {
|
||||
|
@ -21,4 +21,4 @@ ruma_api! {
|
||||
}
|
||||
|
||||
response {}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user