pub struct StreamProfile {
pub terminal: StreamTerminal,
pub usage: UsagePlacement,
}Expand description
Streaming behavior for a provider.
Fields§
§terminal: StreamTerminalEvent that marks the end of the stream.
usage: UsagePlacementWhere usage appears inside the stream.
Trait Implementations§
Source§impl Clone for StreamProfile
impl Clone for StreamProfile
impl Copy for StreamProfile
Source§impl Debug for StreamProfile
impl Debug for StreamProfile
Source§impl Default for StreamProfile
impl Default for StreamProfile
impl Eq for StreamProfile
Source§impl PartialEq for StreamProfile
impl PartialEq for StreamProfile
impl StructuralPartialEq for StreamProfile
Auto Trait Implementations§
impl Freeze for StreamProfile
impl RefUnwindSafe for StreamProfile
impl Send for StreamProfile
impl Sync for StreamProfile
impl Unpin for StreamProfile
impl UnsafeUnpin for StreamProfile
impl UnwindSafe for StreamProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.