docs: Don't use since with the deprecated attribute
This commit is contained in:
parent
729d003c88
commit
fc7cc74789
@ -43,7 +43,7 @@ pub mod v3 {
|
||||
|
||||
/// Optional identity server hostname and access token.
|
||||
#[serde(flatten, skip_serializing_if = "Option::is_none")]
|
||||
#[deprecated(since = "0.6.0")]
|
||||
#[deprecated = "Since Matrix Client-Server API r0.6.0."]
|
||||
pub identity_server_info: Option<IdentityServerInfo>,
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ pub mod v3 {
|
||||
|
||||
/// Optional identity server hostname and access token.
|
||||
#[serde(flatten, skip_serializing_if = "Option::is_none")]
|
||||
#[deprecated(since = "0.6.0")]
|
||||
#[deprecated = "Since Matrix Client-Server API r0.6.0."]
|
||||
pub identity_server_info: Option<IdentityServerInfo>,
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ pub mod v3 {
|
||||
|
||||
/// Optional identity server hostname and access token.
|
||||
#[serde(flatten, skip_serializing_if = "Option::is_none")]
|
||||
#[deprecated(since = "0.6.0")]
|
||||
#[deprecated = "Since Matrix Client-Server API r0.6.0."]
|
||||
pub identity_server_info: Option<IdentityServerInfo>,
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ pub mod v3 {
|
||||
|
||||
/// Optional identity server hostname and access token.
|
||||
#[serde(flatten, skip_serializing_if = "Option::is_none")]
|
||||
#[deprecated(since = "0.6.0")]
|
||||
#[deprecated = "Since Matrix Client-Server API r0.6.0."]
|
||||
pub identity_server_info: Option<IdentityServerInfo>,
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ pub mod v3 {
|
||||
|
||||
/// Optional identity server hostname and access token.
|
||||
#[serde(flatten, skip_serializing_if = "Option::is_none")]
|
||||
#[deprecated(since = "0.6.0")]
|
||||
#[deprecated = "Since Matrix Client-Server API r0.6.0."]
|
||||
pub identity_server_info: Option<IdentityServerInfo>,
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,10 @@ pub mod v3 {
|
||||
|
||||
/// The hostname of the homeserver on which the account has been registered.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[deprecated = "Clients should instead use the `user_id.server_name()` method if they require it."]
|
||||
#[deprecated = "\
|
||||
Since Matrix Client-Server API r0.4.0. Clients should instead use the \
|
||||
`user_id.server_name()` method if they require it.\
|
||||
"]
|
||||
pub home_server: Option<OwnedServerName>,
|
||||
|
||||
/// ID of the logged-in device.
|
||||
|
Loading…
x
Reference in New Issue
Block a user