pub struct Stream {
pub external_id: String,
pub created_time: i64,
pub created_from_template: String,
pub type: StreamType,
pub settings: Option<StreamSettings>,
}Expand description
A stream in CDF.
Fields§
§external_id: StringStream identifier.
created_time: i64Time the stream was created.
created_from_template: StringName of the template used for creating this stream. Note: This value is for information only. The template might have been modified or even entirely deleted after the stream was created.
type: StreamTypeDefines type of the stream.
settings: Option<StreamSettings>Settings for the stream.
Trait Implementations§
Source§impl Create<StreamWrite, Stream> for Resource<Stream>
impl Create<StreamWrite, Stream> for Resource<Stream>
Source§impl<'de> Deserialize<'de> for Stream
impl<'de> Deserialize<'de> for Stream
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
Source§impl From<Stream> for StreamWrite
impl From<Stream> for StreamWrite
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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