Enum sn_messaging::client::SequenceWrite [−][src]
pub enum SequenceWrite { New(Sequence), Edit(SequenceOp<Entry>), Delete(Address), }
TODO: docs
Variants
New(Sequence)
Create a new Sequence on the network.
Edit(SequenceOp<Entry>)
Edit the Sequence (insert/remove entry).
Delete(Address)
Delete a private Sequence.
This operation MUST return an error if applied to public Sequence. Only the current owner(s) can perform this action.
Implementations
impl SequenceWrite
[src]
impl SequenceWrite
[src]pub fn error(&self, error: Error) -> CmdError
[src]
Creates a Response containing an error, with the Response variant corresponding to the Request variant.
pub fn dst_address(&self) -> XorName
[src]
Returns the address of the destination for request.
pub fn owner(&self) -> Option<PublicKey>
[src]
Owner of the SequenceWrite
Trait Implementations
impl Clone for SequenceWrite
[src]
impl Clone for SequenceWrite
[src]fn clone(&self) -> SequenceWrite
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for SequenceWrite
[src]
impl<'de> Deserialize<'de> for SequenceWrite
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for SequenceWrite
[src]
impl Eq for SequenceWrite
[src]impl PartialEq<SequenceWrite> for SequenceWrite
[src]
impl PartialEq<SequenceWrite> for SequenceWrite
[src]fn eq(&self, other: &SequenceWrite) -> bool
[src]
fn ne(&self, other: &SequenceWrite) -> bool
[src]
impl Serialize for SequenceWrite
[src]
impl Serialize for SequenceWrite
[src]impl StructuralEq for SequenceWrite
[src]
impl StructuralEq for SequenceWrite
[src]impl StructuralPartialEq for SequenceWrite
[src]
impl StructuralPartialEq for SequenceWrite
[src]Auto Trait Implementations
impl RefUnwindSafe for SequenceWrite
impl RefUnwindSafe for SequenceWrite
impl Send for SequenceWrite
impl Send for SequenceWrite
impl Sync for SequenceWrite
impl Sync for SequenceWrite
impl Unpin for SequenceWrite
impl Unpin for SequenceWrite
impl UnwindSafe for SequenceWrite
impl UnwindSafe for SequenceWrite
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,