pub struct Start<C> {Show 13 fields
pub resource: Uri,
pub local_identity: String,
pub contact: String,
pub target: Peer,
pub expires: Duration,
pub body: Bytes,
pub content_type: Option<String>,
pub credentials: Option<Credentials>,
pub call_id: String,
pub from_tag: String,
pub initial_cseq: u32,
pub consumer: C,
pub trust: Arc<dyn NotifyTrustPolicy>,
}Expand description
Driver-supplied fields for one initial SUBSCRIBE.
Fields§
§resource: UriResource URI and initial Request-URI.
local_identity: StringAddress placed in From, without a tag.
contact: StringContact value advertised by this client.
target: PeerSelected network target.
expires: DurationDesired positive lifetime.
body: BytesOptional bounded request body.
content_type: Option<String>Optional request media type when body is non-empty.
credentials: Option<Credentials>Optional digest credentials.
call_id: StringFresh opaque Call-ID.
from_tag: StringFresh local From tag.
initial_cseq: u32Non-zero first local CSeq.
consumer: CPackage parser and state owner.
trust: Arc<dyn NotifyTrustPolicy>NOTIFY origin authorization.
Trait Implementations§
Auto Trait Implementations§
impl<C> !Freeze for Start<C>
impl<C> !RefUnwindSafe for Start<C>
impl<C> Send for Start<C>where
C: Send,
impl<C> Sync for Start<C>where
C: Sync,
impl<C> Unpin for Start<C>where
C: Unpin,
impl<C> UnsafeUnpin for Start<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for Start<C>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more