pub struct StreamWrite {
pub external_id: String,
pub settings: StreamSettingsWrite,
}Expand description
A stream to create in CDF.
Fields§
§external_id: StringStream identifier. The identifier must be unique within the project and must be a valid stream identifier. Stream identifiers can only consist of alphanumeric characters, hyphens, and underscores. It must not start with cdf_ or cognite_, as those are reserved for future use. Stream id cannot be logs or records. Max length is 100 characters.
settings: StreamSettingsWriteSettings for the stream.
Trait Implementations§
Source§impl Clone for StreamWrite
impl Clone for StreamWrite
Source§fn clone(&self) -> StreamWrite
fn clone(&self) -> StreamWrite
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Create<StreamWrite, Stream> for Resource<Stream>
impl Create<StreamWrite, Stream> for Resource<Stream>
Source§impl Debug for StreamWrite
impl Debug for StreamWrite
Source§impl Default for StreamWrite
impl Default for StreamWrite
Source§fn default() -> StreamWrite
fn default() -> StreamWrite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamWrite
impl<'de> Deserialize<'de> for StreamWrite
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 StreamWrite
impl RefUnwindSafe for StreamWrite
impl Send for StreamWrite
impl Sync for StreamWrite
impl Unpin for StreamWrite
impl UnwindSafe for StreamWrite
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