pub enum LogVisibility {
Controllers,
Public,
AllowedViewers(Vec<Principal>),
}
Expand description
todo
Variants§
Controllers
Only controllers of the canister can access the logs.
Public
Everyone is allowed to access the canister’s logs.
AllowedViewers(Vec<Principal>)
Canister logs are visible to a set of principals.
Trait Implementations§
Source§impl CandidType for LogVisibility
impl CandidType for LogVisibility
Source§impl Clone for LogVisibility
impl Clone for LogVisibility
Source§fn clone(&self) -> LogVisibility
fn clone(&self) -> LogVisibility
Returns a copy 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 Debug for LogVisibility
impl Debug for LogVisibility
Source§impl Default for LogVisibility
impl Default for LogVisibility
Source§fn default() -> LogVisibility
fn default() -> LogVisibility
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogVisibility
impl<'de> Deserialize<'de> for LogVisibility
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 Hash for LogVisibility
impl Hash for LogVisibility
Source§impl Ord for LogVisibility
impl Ord for LogVisibility
Source§fn cmp(&self, other: &LogVisibility) -> Ordering
fn cmp(&self, other: &LogVisibility) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LogVisibility
impl PartialEq for LogVisibility
Source§impl PartialOrd for LogVisibility
impl PartialOrd for LogVisibility
Source§impl Serialize for LogVisibility
impl Serialize for LogVisibility
impl Eq for LogVisibility
impl StructuralPartialEq for LogVisibility
Auto Trait Implementations§
impl Freeze for LogVisibility
impl RefUnwindSafe for LogVisibility
impl Send for LogVisibility
impl Sync for LogVisibility
impl Unpin for LogVisibility
impl UnwindSafe for LogVisibility
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)