pub struct VoiceAccountsQuery {
pub include_deleted: Option<bool>,
pub transports: Option<String>,
}Expand description
Query params for GET /api/voice/accounts. Build it with
..Default::default() so transports is filled in.
Fields§
§include_deleted: Option<bool>Include soft-deleted tombstones in the response. Absent / false
returns only live lines — the restore-grade pull a fresh device
wants. A delta-syncing device sets this true to also learn
about deletes made elsewhere (doc 40).
transports: Option<String>Comma-separated transports this client reads. The platform leaves
lines in any other transport out of the page — that is how builds
from before TLS, which send no value, never see a tls line.
Defaults to every VoiceTransport::KNOWN; set None only to
behave like one of those builds.
Trait Implementations§
Source§impl Clone for VoiceAccountsQuery
impl Clone for VoiceAccountsQuery
Source§impl Debug for VoiceAccountsQuery
impl Debug for VoiceAccountsQuery
Source§impl Default for VoiceAccountsQuery
impl Default for VoiceAccountsQuery
Source§impl<'de> Deserialize<'de> for VoiceAccountsQuery
impl<'de> Deserialize<'de> for VoiceAccountsQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VoiceAccountsQuery
impl RefUnwindSafe for VoiceAccountsQuery
impl Send for VoiceAccountsQuery
impl Sync for VoiceAccountsQuery
impl Unpin for VoiceAccountsQuery
impl UnsafeUnpin for VoiceAccountsQuery
impl UnwindSafe for VoiceAccountsQuery
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